-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpagination_example.page
18 lines (18 loc) · 1.11 KB
/
pagination_example.page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<apex:page controller="vf_paginationfw_controller" tabStyle="Contact">
<apex:form >
<apex:pageBlock title="Contact Pagination Framework" >
<apex:pageBlockButtons >
<apex:commandButton value="<< First" action="{!begingList}" disabled="{!DisablePrevious}" />
<apex:commandButton value="< Previous" action="{!prevList}" disabled="{!DisablePrevious}" />
<apex:commandButton value="Next >" action="{!nextList}" disabled="{!DisableNext}" />
<apex:commandButton value="Last >>" action="{!lastList}" disabled="{!DisableNext}" />
</apex:pageBlockButtons>
<apex:pageBlockTable value="{!listToShow}" var="con">
<apex:column value="{!con.name}"/>
<apex:column headerValue="LeadSource">
<apex:outputField value="{!con.LeadSource}"/>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>
</apex:form>
</apex:page>