Q52
Single choice
A developer created a Visualforce page with a custom controller to show a list of accounts. The page uses
the <apex:SelecList> component, with a variable called "selection", to show the valid values for
Account.Type. The page uses an <apex:pageBlockTable> component to display the list of accounts,
where the iteration variable is "acct". The developer wants to ensure that when a user selects a type on the
<apex : selectList> component, only accounts with that type are shown on the page.
What should the developer do to accomplish this?