|
|
|
| I have 100 records after retrieved from DB2. I want to display 10 records per page with the previous and next link. Is there any solution or idea greatly appreciated.
| |
|
| hi are you successful on this ?i am also trying to implement the same feature,but my content will be coming from content pages under site areas and not from any database.
Please let me know if you have any suggestions
| |
|
| A solution is to implement a click-on-action portlet that makes a query taking last row of current data page as reference to select next 10 rows:
first page:
select top 10 * from ....
next page:
select top 10 * from .... where id>if_from_current_page_last_row
It's an idea, how to implement it depends on you...
| |
|
| If you are using JSR 168 Faces Portlets, you could use the Data Table feature in faces to perform pagination. Just need to highlight it in the properties.
|
|
|
|