From:    http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html

Displaytag 1.1 offers two alternative ways for working with partial lists:

  • the first one uses the valuelist pattern, and requires that the object that you give to displaytag implements the org.displaytag.pagination.PaginatedList interface. You can pass this object to displaytag as an usual list, and it will extract paging and sorting information from it. This way is more recommended if you have to build your backend layer and you can easily follow this pattern.
  • a second way, recommended if you only have to use partial list for few tables that show a performance problem using full lists, is passing all the needed parameters as separate tag attributes (recors to be shown, page number, total number of records...)
So the answer is yes, you must implement PaginatedList.

Ricardo.



On 10/26/06, Chetan Pandey < [EMAIL PROTECTED]> wrote:

Hi All:

 

I am using displaytag to import a Vector of Beans inot my JSP Page. Pagination and all is setup properly.

 

But the only disadvantage is that I have to load my nearly 2500 Rows of Data on Client Side and when my Code goes to Production that number could be in millions.

 

Is their a way with Displaytag in which I can fetch only 50 rows of Data and then with a click of "Next" button the next 50 rows are fetched and the ones before are removed from the Session.

 

Thanks.

 

Chetan


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to