[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!

8 ) Como usar as tags de paginação do Mentawai ?  XML
Forum Index -> F.A.Q.
Author Message
boaglio


[Avatar]

Joined: 28/09/2005 11:05:16
Messages: 299
Location: Sao Paulo - Brazil
Offline

8 ) Como usar as tags de paginação do Mentawai ?

Exemplo: http://paginator.mentaframework.org/

Código: http://www.mentaframework.org/examples/PaginatorTag.war

Code:
 <mtw:paginator size="5" value="myList">
 
     <mtw:isEmpty negate="true">
  	
          <h5>Results <mtw:resultFrom /> - <mtw:resultTo /> of about <mtw:resultTotal /></h5>
  		
     </mtw:isEmpty>
 
     <mtw:hasPrevious>
         
         <a href="/HelloPaginator.mtw?page=<mtw:out />"><b><-Prev</b></a>  
         
     </mtw:hasPrevious>
     
     <mtw:pageNumbers pagesToShow="3">
     
         <mtw:isCurrPage>
             <mtw:out />  
         </mtw:isCurrPage>
         
         <mtw:isCurrPage negate="true">
             <a href="/HelloPaginator.mtw?page=<mtw:out />"><mtw:out /></a>  
         </mtw:isCurrPage>
     
     </mtw:pageNumbers>
     
     <mtw:hasNext>
         
         <a href="/HelloPaginator.mtw?page=<mtw:out />"><b>Next-></b></a>
         
     </mtw:hasNext>
     
     <br><br>
     
     <font color="blue">
     
     <mtw:loop>
     
         <mtw:out /><br>
         
     </mtw:loop>
     
     </font>
 
 </mtw:paginator>
 

http://www.boaglio.com
[WWW]
 
Forum Index -> F.A.Q.
Go to:   
Powered by JForum 2.1.6 © JForum Team