The second controller type is the standard list controller which can be used for displaying or performing an action on a set of records (including related lists, list pages, and mass action pages). It allows us to filter records on a particular page. We can use standard list controllers for Account, Asset, Campaign, Case, Contact, Contract, Idea, Lead, Opportunity, Order, Product2, Solution, User, and all the custom objects.
Similar to the standard controller, we can specify the
standardController attribute of the
<apex:page> component. Additionally, we need to specify the
recordSetVar attribute of the
standardController attribute specifies ...