Feature Requests item #872183, was opened at 2004-01-07 01:34 Message generated for change (Comment added) made by javajedi 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. ---------------------------------------------------------------------- Comment By: Tim McCune (javajedi) Date: 2004-01-07 09:50 Message: Logged In: YES user_id=62441 Awesome. I was going to do this, but didn't in the hopes that someone else would first. :) It seemed like a very obvious needed fix to displaytag, but looked like it wouldn't be trivial to implement. I didn't look through the patch very closely since it wasn't submitted as a diff, but if it works, I would second the hope that it can be pulled back into the main source base. ---------------------------------------------------------------------- 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: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel