Re: [S2]Paging through a large list of things

2007-06-22 Thread Skip Hollowell
Jeromy Evans - Blue Sky Minds wrote: Here's some options: 1. store your results in the http session. This takes no effort but won't scale very well. 2. Look at the paging implementation provided by displaytag. The default behaviour loads all data and pages through it for you. http://displayta

Re: [S2]Paging through a large list of things

2007-06-21 Thread Musachy Barroso
I've always used displaytag for paginated results. It is really easy to use (and flexible at the same time) musachy On 6/21/07, Jeromy Evans <[EMAIL PROTECTED]> wrote: Skip Hollowell wrote: > So now my question is ... how? I have a list of 5000 records. I want > to initially show them a 100

Re: [S2]Paging through a large list of things

2007-06-21 Thread Jeromy Evans
Skip Hollowell wrote: So now my question is ... how? I have a list of 5000 records. I want to initially show them a 100 of these records, with a nice Prev / Next feature. 1. Where / how do I safely store this list for this user? Obviously it needs to be saved somewhere so it is not lost onc

[S2]Paging through a large list of things

2007-06-21 Thread Skip Hollowell
The power that be have dictated that a mega search against the DB will be fired off 1 time, and all the results will be returned to my Struts 2 app for me to deal with. (Rather than my suggestion of sending a request for 1 page worth of information as most people would suggest) So now my ques