function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
visulaforcevisulaforce 

how to show a list of messages using ApexPages.addMeassage()

i have  a number of validation in custom inputfields. I wanna show validation  messages for incorrect input. By using ApexPages.addMessage() i m able to display only one message at a time. Is there any way to show the list of messages same as in salesforce. Pls reply soon