You'll have to follow the website directions to download, then build the
code.

To use the patch see my comments on the patch at:
http://jira.codehaus.org/browse/DISPL-134

I am planning on creating a patch with some documentation soon.

-David

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:displaytag-user-
> [EMAIL PROTECTED] On Behalf Of Thai Dang Vu
> Sent: Thursday, August 25, 2005 9:34 AM
> To: [email protected]
> Subject: RE: [displaytag-user] Am I right?
> 
> Hi David,
> 
> You are right. All the rows are coming from the database and if I ask the
> database to return me so many rows, everything will be kind of frozen.
> 
> Could you tell me a little bit more about how to do that? I'm not very
> good at using cvs (I have one from cygwin). I can use cvs or maven (as
> instructed on displaytag website) to download the source code. Where can I
> find your patch in those source codes? And do you have an example of using
> your patch?
> 
> Thank you so much.
> 
> >>> [EMAIL PROTECTED] 8/23/2005 1:22:42 PM >>>
> If your using that many rows you ought to look into using my serverside
> sort
> and paging patch that is now in cvs... im assuming all those rows are
> coming
> out of the database, with this patch you can only select, sort, and load
> the
> relevant rows into each viewable page of displaytag.
> 
> -David
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:displaytag-
> user-
> > [EMAIL PROTECTED] On Behalf Of Thai Dang Vu
> > Sent: Tuesday, August 23, 2005 9:25 AM
> > To: [email protected]
> > Subject: [displaytag-user] Am I right?
> >
> > Hi everybody,
> >
> > I looked at the displaytag source code and realize some things (although
> I
> > don't understand everything there):
> >
> > - when displaytag gets our list (the one specified in the 'name'
> attribute
> > of display:table), it creates an iterator. when we go to a particular
> > page, displaytag calculates the start and end postions of the rows that
> > need to be displayed. For example, we are at page 9 and the page size is
> > 10, then start = (9-1)*pagesize + 1 and end = start + pagesize. So, with
> > an iterator, displaytag has only one choice to know which element in the
> > iterator is at the start position. That choice is counting from the
> > beginning of that iterator until we count to 'start". My question is
> 'why
> > don't we use an ArrayList instead of an Iterator so that we can go to an
> > element at any position directly?'.
> >
> > I created an example where my data (which have 2 columns, one is integer
> > and one is string)contains 60710 rows. I notice that after I sorted by
> the
> > string column, it took me a long time to go to the next page.
> >
> >
> >
> > -------------------------------------------------------
> > SF.Net email is Sponsored by the Better Software Conference & EXPO
> > September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> > Practices
> > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
> QA
> > Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> > _______________________________________________
> > displaytag-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/displaytag-user
> >
> > --
> > No virus found in this incoming message.
> > Checked by AVG Anti-Virus.
> > Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date:
> 8/22/2005
> >
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle
> Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> displaytag-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.344 / Virus Database: 267.10.15/81 - Release Date: 8/24/2005
> 



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to