Standard list controllers allow you to create Visualforce pages that can display or act on a set of records. Examples of existing Salesforce pages that work with a set of records include list pages, related lists, and mass action pages. Standard list controllers can be used with the following objects:
-
Account
-
Asset
-
Campaign
-
Case
-
Contact
-
Contract
-
Idea
-
Lead
-
Opportunity
-
Order
-
Product2
-
Solution
-
User
-
Custom objects
-
Associating a Standard List Controller with a Visualforce Page
-
Standard List Controller Actions
Standard list controllers support action methods. Action methods perform logic or navigation when a page event occurs, such as when a user clicks a button or hovers over an area of the page.
-
Pagination with a List Controller
To add pagination to a Visualforce page that has a list controller, use the
nextandpreviousactions. -
List Views with Standard List Controllers
To display a filtered list of records on a Visualforce page, associate the page with a standard list controller.
See Also