Feature Requests item #872183, was opened at 2004-01-07 16:34 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536616&aid=872183&group_id=73068
Category: main taglib Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ian Barnett (ianbdev) Assigned to: Nobody/Anonymous (nobody) Summary: Increase efficiency of paging using a list subset Initial Comment: We encountered a situation where we had to support a query that resulted in 1000's or rows (I wouldn't ask why it's a very long story). Loading all this from the DB into the application server memory was terribly wasteful and resource hungry. We came up with a db list paging solution (borrowing a suggestion from askTom and incorporating in our app) that allowed us to retrieve just one page of records from a given page number (with a known page size). The problem was than to get DisplayTag to take the abbreviated list of just 100 records and display them and continue to manage the page navigation correctly (i.e. to show that we are at page 5 of approx 66 pages where there are 6650 records total). We managed to do this with some changes to the DisplayTag code (see attached). The application is responsible for getting the abbreviated list of records and the total list size and passing it to the table tag. If this can be implemented in the display tag project we would be most appreciative. Hopefully others will find the feature useful as well. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536616&aid=872183&group_id=73068 ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel