Which component should be added to the Visualforce page to display the message?

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?
A . <apex:message for="info"/>
B . <apex:facet name="messages" />
C . <apex:pageMessage severity="info" />
D . <apex:pageMessages />

Answer: D

Latest PDII Practice Questions with 280 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments