You need to sign in to do that
Don't have an account?

Standard and Custom List Controller
Hi folks,
Can anyone tell me what is the purpose of custom list controller and Standard List controller?
I need a simple description for that
Thanks in advance
Karthick
Can anyone tell me what is the purpose of custom list controller and Standard List controller?
I need a simple description for that
Thanks in advance
Karthick
Standard and Custom list controllers allow you to create Visualforce pages that can display or act on a set of records.
If you use StandardController in a page then simply use RecordSetVar attribute (this is a collection of all the records of that perticular object).
So in the above example the accounts store all the records from Account object and now you can display them or act any opration on it.
And now about Custom list Controller- It is similer as Standard list Cotroller but you have to use Apex coding in custom controller or in extension.
Here you create setCon in which all the reocrds are stored and set it into a Opportunity list.
So now in Vf page you can display this list or perform any opration on it.
you can find the code here-
https://www.salesforce.com/us/developer/docs/pages/Content/pages_custom_list_controller.htm
hope it'll help you.
Regards
Virendra