You need to sign in to do that
Don't have an account?

Multiple Message panes for different components
Hi,
I have been looking at the VisualForce component reference for the Apex:Message component.
In the example I have notices that one can have two Apex:Message components, using the "For" parameter.
Could someone please help me understand how I can use this, when I am using custom objects, and generating my own messages using the following code
Apexpages.addMessage( new Apexpages.Message(ApexPages.severity.ERROR,'My Message here'))
I could not find documentation of this.
Thanks,
Ben