• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make the pagination configurable  RSS feed

 
Anshul Chandra Saxena
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi All

I have a requirement wherein i have to make use of the pagination tag of JSF. I need to make the list displayed configurable. i.e if i want to show 10 or 20 items per page...

Can anyone please let me know how to do this ?

thanks
Anshul
 
Rajneesh Kumar Rajput
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using some standard pagination component or want to implement your known text fields and buttons as pagination?

1) either use tomhawk table, provides automatic pagination.

2) Use rows and first attribute of the data table to control no. of records in the table.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!