Valid PDI Dumps shared by EduDump.com for Helping Passing PDI Exam! EduDump.com now offer the newest PDI exam dumps, the EduDump.com PDI exam questions have been updated and answers have been corrected get the newest EduDump.com PDI dumps with Test Engine here:
A custom Visualforce controller calls the ApexPages.addMessage() method, but no messages are rendering on the page. Which component should be added to the Visualforce page to display the message?
Correct Answer: B
Option B: The<apex:pageMessages />component renders all messages added to theApexPagesmessages collection on a Visualforce page, including those added by theApexPages.addMessage()method. Not Suitable: Option A:<apex:message>is for specific fields, not for the general messages collection. Option C:<apex:pageMessage>is used for displaying a single, static message, not the dynamic collection of messages. Option D:<apex:facet>does not display messages. Visualforce ApexPages Messages