Salesforce
CRT-450 · Question #118
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?
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #118. The question stem and answer options stay visible for context.
Question
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?
Options
- A<apex: pageMessages />
- B<apex: pageMessage severity="info''/>
- C<Apex: facet name='' message''/>
- D<Apex: message for='' info''/>
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.