Salesforce
PDII · Question #402
PDII Question #402: Real Exam Question with Answer & Explanation
Sign in or unlock PDII to reveal the answer and full explanation for question #402. The question stem and answer options stay visible for context.
Question
A Visualforce page contains an industry select list and displays a table of Accounts that have a matching value in their Industry field. <apex:selectList value="{!selectedIndustry}"> <apex:selectOptions values="{!industries}"/> </apex:selectList> When a user changes the value in the industry select list, the table of Accounts should be automatically updated to show the Accounts associated with the selected industry. What is the optimal way to implement this?
Options
- AAdd an apex:actionFunction within the apex:selectOptions.
- BAdd an apex:actionFunction within the apex:selectList.
- CAdd an apex:actionSupport within the apex:selectList.
- DAdd an apex:actionSupport within the apex:selectOptions.
Unlock PDII to see the answer
You've previewed enough free PDII questions. Unlock PDII 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.