The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
2answers
1k 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 ...
2
votes
1answer
612 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
71 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
76 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
88 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 ...
3
votes
2answers
195 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
1k 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?
7
votes
1answer
675 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, ...
4
votes
3answers
2k 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 ...