2010年12月14日火曜日

Standard List Controller Action

a list controller returns 25 records on the page

<apex:page standardController="Account"
recordSetvar="accounts">
<apex:form>
<apex:dataList var="a"
value="{!accounts}">{!a.name}</apex:dataList>
<apex:panelGrid
columns="4">
<apex:commandLink
action="{!first}">First</apex:commandlink>
<apex:commandLink
action="{!previous}">Previous</apex:commandlink>
<apex:commandLink
action="{!next}">Next</apex:commandlink>
<apex:commandLink
action="{!last}">Last</apex:commandlink>
</apex:panelGrid>
</apex:form>
</apex:page>

0 件のコメント:

コメントを投稿