wood burning stoves 2.0*
The moose likes JSF and the fly likes JSF DataTable  pagination   Previous 1 2 3 4 5 Next  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF DataTable  pagination   Previous 1 2 3 4 5 Next  " Watch "JSF DataTable  pagination   Previous 1 2 3 4 5 Next  " New topic
Author

JSF DataTable pagination Previous 1 2 3 4 5 Next

suresh myageri
Greenhorn

Joined: Aug 16, 2007
Posts: 14
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 ]

SCJP 1.4 , IBM WPS Solution Developer, IBM DB2 8.1 Application Developer

"The tragedy of life is not death. The tragedy of life is what we allow to die inside of us while we live. -Dr. Norman Cousins
Amit Kumar Bhardwaj
Greenhorn

Joined: Mar 05, 2008
Posts: 1
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

Joined: May 18, 2006
Posts: 211
MyFaces Tomahawk has a tag called data scroller. Might be the one you're looking for.

Tomahawk Data Scroller


There's so much to learn in this industry, and not everybody has the necessary interest.
Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

You can use MyFaces Tomahawk t:dataTable.


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
 
jQuery in Action, 2nd edition
 
subject: JSF DataTable pagination Previous 1 2 3 4 5 Next
 
Similar Threads
Pagination in JSP
Pagination
pagination with tomahawks dataScroller
pagination problem
Pagination