I guess I'll check out displayTag's External Pagination, which I had seen
before but never looked into. Thanks for the tip!

The other option, implementing my own pagination, I'd rather not deal with.
Anyway, it's only for 1-2 tables, which is exactly what displayTag's help
says that its External Pagination is for.

Thanks for the (as always) quick and helpful replies.
Bob


Mike Horwitz wrote:
> 
> On 22/02/2008, syg6 <[EMAIL PROTECTED]> wrote:
>>
>>
>> I have a table with 150,000 records. When I call this object's
>> manager.getAll() it tries to load them all at once. This, of course,
>> makes
>> my pc crap the bed. I was wondering what my options are.
>>
>> I suppose one option is to call my own method, instead of getAll(),
>> getSome(int startRecord, int howManyRecordsToLoad) which is fine but
>> since
>> in all the list pages displayTag is in charge of pagination, won't this
>> mean
>> that I have to handle pagination myself? After all, displayTag only
>> handles
>> pagination for the records you pass to it. If I only load 1,000 of the
>> 150,000 records, displayTag will paginate 1,000 records and never show
>> the
>> other 149,000.
>>
>> What's my best option here?
> 
> 
> DisplayTag supports external pagination & sorting:
> http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html
> 
> Mike
> 
> Many thanks,
>> Bob
>> --
>> View this message in context:
>> http://www.nabble.com/Too-many-records%21-tp15630061s2369p15630061.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Too-many-records%21-tp15630061s2369p15630724.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to