[Logo] Mentawai Forum - Mentawai Web Framework
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 

Forum Read-Only! Check the new site and forum here!

Using the Paginator Tag  XML
Forum Index -> General Comments
Author Message

Joined: 01/07/2005 09:59:17
Messages: 2846
Location: Rio de Janeiro, RJ

Example: http://paginator.mentaframework.org/

Sources: http://www.mentaframework.org/examples/PaginatorTag.war

 <mtw:paginator size="5" value="myList">
         <a href="/HelloPaginator.mtw?page=<mtw:out />"><b>Prev</b></a>  
     <mtw:pageNumbers pagesToShow="3"> <!-- x x x X x x x -->
             <mtw:out />   <!-- no link for curr page -->
         <mtw:isCurrPage negate="true">
             <a href="/HelloPaginator.mtw?page=<mtw:out />"><mtw:out /></a>   <!-- show link for other pages -->
         <a href="/HelloPaginator.mtw?page=<mtw:out />"><b>Next</b></a>
     <font color="blue">
         <mtw:out /><br> <!-- loop through the elements of this page -->

Sergio Oliveira

Forum Index -> General Comments
Go to:   
Powered by JForum 2.1.6 © JForum Team