How can this be accomplished?

A developer wants to create a Visualforce page that allows a user to search for a given account by Name. If the account is found, the account details should be populated on screen. If no account is found, an error message should be displayed to the user.

How can this be accomplished? (Choose two.)
A . Use the (apex: information) tag to display the error message
B . Use the ApexPages.addMessage() method to add the error message
C . Use the <apex:pageMessages> tag to display the error message
D . Use the accountaddErrorQ method to add the error message

Answer: B,C

Latest PDII Dumps Valid Version with 280 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments