SalesforceSalesforce
PDI · Question #118
PDI Question #118: Real Exam Question with Answer & Explanation
Sign in or unlock PDI to reveal the answer and full explanation for question #118. The question stem and answer options stay visible for context.
Submitted by obi.ng· Apr 18, 2026User Interface
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 PDI to see the answer
You've previewed enough free PDI questions. Unlock PDI 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.
Topics
#Visualforce#ApexPages.addMessage#Page Messages#UI Components