Activity Forums Salesforce® Discussions Difference between apex:pageMessage and apex:pageMessages in Salesforce Visualforce?

  • Saurabh

    Member
    April 13, 2017 at 1:41 pm

    Hi Suraj,

    apex:pagemessage is used to show single message only

    apex:pagemessages is used to show messages based on some condition

  • shariq

    Member
    July 18, 2017 at 12:12 pm

    Hi Suraj,

    apex:pagemessages :-

    apex:PageMessages is a containing component where any messages that have been added to the page will appear.

     

    apex:pagemessage :-

    apex:pageMessage is a component that adds a single message to the page.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos