ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 97 - Certified Platform Developer II discussion

Report
Export

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
Answers
A.
Use the (apex: information) tag to display the error message
B.
Use the ApexPages.addMessage() method to add the error message
Answers
B.
Use the ApexPages.addMessage() method to add the error message
C.
Use the <apex:pageMessages> tag to display the error message
Answers
C.
Use the <apex:pageMessages> tag to display the error message
D.
Use the accountaddErrorQ method to add the error message
Answers
D.
Use the accountaddErrorQ method to add the error message
Suggested answer: B, C
asked 23/09/2024
MARCIA SHEILA PELAEZ GONZALEZ
38 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first