Valid CRT-450 Dumps shared by ExamDiscuss.com for Helping Passing CRT-450 Exam! ExamDiscuss.com now offer the newest CRT-450 exam dumps, the ExamDiscuss.com CRT-450 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CRT-450 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: A
The <apex:pageMessages /> component displays all messages that were generated for all components on the current page, using the ApexPages.addMessage() method. This component should be used to display messages on a Visualforce page that uses a custom controller or controller extension1. The other options are either incorrect or incomplete, as they only display a single message or require additional attributes2. References: * ApexPages Class | Apex Reference Guide | Salesforce Developers * Visualforce Developer Guide | Salesforce Developers