The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
28 views

How to display different error messages at different places on a Visualforce page

How can I control how error messages from apex show at different places on a page? I`d like to show ErrorA to RegionA if ErroA occured, and ErrorB to RegionB if ErrorB occured. Does anyone have any ...
1
vote
1answer
38 views

Return apex page message to Java script alert popup

I want to show the error message on Javascript alert popup.Is it possible? I have a custom detail button which calls below page and creates a related record.If related record exists then I want to ...
2
votes
1answer
28 views

Output label not conditional

I have a requirement to show page message for a particular selected template. The template selection done here. But render is always returning true in this case. Can someone help me here? ...
2
votes
0answers
22 views

Render based on TemplateId [duplicate]

I have a requirement to show an apex page message "XX YY" if the selected template id to email is "Update Status". (This message needs to be displayed when they make the selection not when they click ...
0
votes
1answer
19 views

Hiding page messages for required fields

I am showing few required fields on my VF page. I am also using apex:pagemessages to show custom error messages. Below is my code <apex:pageblock mode="edit" title="Agreement Address Edit" ...
2
votes
3answers
45 views

Best way Optional warning message on page load

I have to show a message on top of a visual force on load page,if certain conditions are met. I know 2 ways: 1) in the constructor: if (Querycondition){ ApexPages.Message myMsg = new ...
5
votes
1answer
103 views

ApexPages.Message appears as bullet point instead of standard graphic

I've got a message that I'm adding to a page with the following code: ApexPages.AddMessage(new ApexPages.Message(ApexPages.Severity.CONFIRM, message)); The message appears on the resulting page. ...
3
votes
1answer
109 views

ActionPoller and pageMessages rerender issue

I have a pretty batch that is trigger from a VF page. Then I check the batch status using an ActionPoller until it is completed and finally I rerender the batch results. Everything is working fine ...
0
votes
1answer
61 views

Custom errors using apex:pageMessages

I have created a custom Login page for my customer portal but the problem is that if I want errors to display when the user enters wrong credentials I am forced to use <apex:pageMessages id="error" ...
0
votes
0answers
120 views

error message at page level for visualforce page

At page level , it's showing single error message but we have multiples error messages on multiple fields level. How can show multiple error message at page level. .... public PageReference ...
2
votes
1answer
43 views

Where should apex:pageMessages be placed in a Visualforce page?

I have an issue where my apex:pageMessages does not appear in the visualforce page even though i have that tag on the top of the page. Now, i tried placing the apex:pagemessages component just below ...
4
votes
3answers
679 views

Odd error: apex:pageMessages not displaying any errors in inline visualforce page. Am i missing something?

I am trying to display error messages using apex:pageMessages tag but the error block does not show up in the inline visualforce page. Is there any restrictions that a visualforce page should contains ...
4
votes
1answer
322 views

PageMessages writing duplicate error message

I have a simple visualforce page like so... <apex:page controller="MerchantDetails"> <apex:form > <apex:pageBlock title="Confirm or solicit the fields below"> ...
2
votes
2answers
2k views

Display all error messages

Visualforce page is displaying one error message at a time not all error messages if validation is failed for all fields.Below is my code in the controller.I have apex:pagemessages in visualforce page ...
4
votes
2answers
1k views

<Apex:pageMessages/> not working if showHeader=“false”

everyone. I had problem showing errors in my page, and I boiled it down to the use of showHeader="false". Here's my Controller: public class MyTest1 { public MyTest1() { ...
1
vote
2answers
97 views

How to auto populate alert message for opportunity closed under a custom object?

I am having one custom object "Site" which has lookup relationship with opportunity. Which means each site record has more than one opportunity. For example if a site record has 5 opportunity in that ...
0
votes
2answers
97 views

Auto populate message when opportunity is closed?

I need to auto populate a message when the opportunity stage set to closed. Can one tell how to do this and also tell me any links for this. Thanks in advance Regards, Lavanya.
0
votes
2answers
124 views

Set some type of alert on our Opportunity page

I have something else that is throwing me for a loop. I hope I can explain this ok. I have our Opportunity page that I have a request to put some type of alert on. This could be a label or a text ...
5
votes
2answers
334 views

Determine if Apex is invoked via Visualforce

I have a wrapper around a third party integration that I am invoking in two places -- a Visualforce page with user entered data, and a batch job that executes scheduled tasks every so often. I had ...
2
votes
2answers
2k views

Customize standard error message on the visualforce page

I want to customize the error message box which comes for various errors. i want only a single custom message for all types of errors and also a different custom icon. How can i implement this?
8
votes
1answer
1k views

Inserting a link in an ApexPages message

I was wondering if there's a way to display a link in an ApexPages.Message. There's nothing mentioned in the documentation about it, so I simply did a : ApexPages.Message(ApexPages.Severity.CONFIRM, ...
5
votes
4answers
3k views

Clear Apex:PageMessages without losing viewstate

Is there a way to clear the PageMessages in my controller without losing my Page's viewstate? At the moment I'm doing a ajax call from my visualforce page, which rerenders part of my page, but this ...