How can this be acc...
 
Notifications
Clear all

How can this be accomplished?

1 Posts
1 Users
0 Likes
37 Views
Thurman
(@pochethurman)
Noble Member
Joined: 7 months ago
Posts: 365
Topic starter  

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

Show Answer Hide Answer

Suggested Answer: B,C

   
Quote
Share: