May 2019
Intermediate to advanced
546 pages
12h 41m
English
Standard list controllers are controllers that handle records in bulk. They are based on the standard object controller, but can also display records from your list.
Let's take a look at the following example:
<apex:page standardController="Movie__c" recordSetVar="movies" tabStyle="Movie__c" lightningStylesheets="true"> <apex:pageBlock> <apex:pageBlockTable value="{!movies}" var="aMovie"> <apex:column value="{!aMovie.Name}" /> <apex:column value="{!aMovie.Genre__c}" /> <apex:column value="{!aMovie.Runtime__c}" /> </apex:pageBlockTable> </apex:pageBlock></apex:page>
With this page, I'll display an overview of all the available movies in my database with the genre and the running time. The page will look something ...
Read now
Unlock full access