sorting. You need to look at all the data otherwise you can't sort the 
data or provide the sorting links in the table headers. 

We run into the problem all the time at my company, because we'd really 
like a more efficient way to handle large sets of data. It may be possible 
to optimize the tag when sorting isn't used, Fabrizio, do you have any 
idea if that would work?


On Thu, 15 Apr 2004, Alex Burgel wrote:

> hi,
> 
> i've been playing around with displaytag, trying to get it to work with my
> set up. i have a question about its design.
> 
> in TableTag, it seems to iterate over all the items in the list to populate
> the TableModel. once its populated, in doEndTag() it finds out which ones
> are being displayed and then writes them out.
> 
> it seems a bit unnecessary to do all this extra processing for the rows that
> won't be displayed, especially since at the point of doStartTag you already
> know which rows will be displayed because you know the page size and which
> page you're on.
> 
> is there a reason for this that i'm not seeing?
> 
> the reason i ask is because i'm trying to come up with a way to allow the
> tag to accept partial lists but still provide all the features like paging,
> etc.
> 
> thanks.
> 
> --alex
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> displaytag-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/displaytag-devel
> 

-- 
John York
Software Engineer
CareerSite Corporation



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to