Feature Requests item #951204, was opened at 2004-05-10 14:14 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=951204&group_id=73068
Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ralf Hauser (ralfhauser) Assigned to: Nobody/Anonymous (nobody) Summary: allow for partial lists where the rest remains in DB Initial Comment: displaytag is an amazing tool to spare end-users the long download times of huge tables and make tables more versatile. When tables get really big, this approach still might be problematic because the java.util.List a) take a long time to assemble from the DB and b) may end up so big that it will be a problem if there are multiple parallel user sessions with huge java.util.List (or request.setAttribute... as alternative to sessions) Suggestion: ========= Allow to only provide partial lists to begin with - the "display:table" tag as per http://displaytag.sourceforge.net/tagreference.html#Attributes would need the following additional attributes: 1) list-size- default would be the size of the java.util.List, otherwise, the programmer should retrieve that number with SELECT COUNT(*) FROM ... 2) call-back function name - e.g. struts action to call with off-set parameter and rowcount if the rows to display are not present in the partial list in the request/session scope. On the DB-side e.g. SELECT * FROM `TBL_MESSAGE` LIMIT 110, 145 is readily available to do that 3) listOffset (optional) - if java.util.List's first entry is not what logically is considered the first element obviously doing this is imcompatible with sort="list" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536616&aid=951204&group_id=73068 ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel