WebSphere Portal Server - Pagination in WPS

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > April 2006 > Pagination in WPS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Pagination in WPS

2005-10-24, 6:14 pm

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.

2006-04-11, 10:17 am

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

2006-04-11, 10:17 am

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...

2006-04-27, 8:07 am

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.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com