<wt:pagecontrols/>

Description

Displays the page controls for a paged <wt:list\/*gt;

Attributes

for the id of the list to show page controls for
[totalresults] the total number of results to create a page control for
[resultsperpage] the number of results per page
[page] the current page
[onpagechange] a link to goto on page change

Examples

A paginated list of usernames

<wt:list id="contactList" perpage="20" type="Contact" source="/Contacts">
  [wt:Username]
</wt:list>

<wt:pagecontrols for="contactList"/>
 

<wt:pagecontrols totalresults="100" resultsperpage="20" page="4" onpagechange="javascript: gotoPage([wt:pageno])"/>