You need to sign in to do that
Don't have an account?
jagjitsingh@indivar.com
Difference between Standard Controllers & Standard List Controllers
Hi
What is the Difference between Standard Controllers & Standard List Controllers .
Thanks
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
Hi
What is the Difference between Standard Controllers & Standard List Controllers .
Thanks
Standard Controller always refers : Object (standard /custom).
StandardsetController is an Apex Class. This class has some methods like setpagesize().... etc...
A sample for you:
Page:
-------
<apex:page standardController="DataLoadTest__c" recordsetvar="recs" extensions="test">
<apex:form >
<apex:pageBlock >
<apex:pageBlockSection >
<apex:pageBlockTable value="{!recs}" var="r">
<apex:column headervalue="Name">
{!r.Name}
</apex:column>
</apex:pageBlockTable>
</apex:pageBlockSection>
<apex:commandButton value="previous" action="{!previous}"></apex:commandButton>
<apex:commandButton value="next" action="{!next}"></apex:commandButton>
</apex:pageBlock>
</apex:form>
</apex:page>
class:
-------
public with sharing class test {
public test(ApexPages.StandardsetController Controller){
Controller.setPageSize(2);
}
}
This page displays only 2 records per page.. This could be possible by calling the method setPagesize(2). This is a method of standardsetcontroller class.