Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF DataTable pagination Previous 1 2 3 4 5 Next

 
suresh myageri
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need to achieve the pagination using dataTable.
It supports various display styles.

pager deluxe |< < 1 of 5 > >|
pager web 1 2 3 4 5

But i need to achieve in the following style

< Previous 1 2 3 4 5 Next >

can anyone achieved pagination in the above style using the data table.

I am using JSF for developing the JSR 168 compliant portlet

Please help to resolve the issue

thanks in advance
Suresh
[ February 17, 2008: Message edited by: suresh myageri ]
 
Amit Kumar Bhardwaj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Suresh,

Can you tell me how you have acheived the Page Web Prev 1 2 3 4 5 Next style for pagination, i am in need of this in my current project. Kindly provide me some code example for doing the same. Thanks in advance.
 
Eugene Abarquez
Ranch Hand
Posts: 211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MyFaces Tomahawk has a tag called data scroller. Might be the one you're looking for.

Tomahawk Data Scroller
 
Krishna Srinivasan
Ranch Hand
Posts: 1862
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use MyFaces Tomahawk t:dataTable.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic