Hi Srini,

I have a table that contains 32000 records and was in the same predicament as you. I wanted to subsets of the records rather than the whole thing at once. Also the current release version of displaytag doesn't allow you to paginate (or sort) sublists, you might be surprised to know that version 1.1 does! You just have to checkout the source from CVS and compile it.

After compile displaytag 1.1, you can have sublists and external sorting by adding the following paramters to the display:table tag:
1. sort="external"
2. partialList="true"
3. size="somesize"

I always resisted using displaytag because of loading the entire resultset is just plain bad when you're dealing with a large number of records. But now that this restriction has been removed, displaytag does the job quite nicely.

Hope this helps.
Aladin




Srini Pillai wrote:
Hi,

We have a situation where we require to paginate our result list (which
is quite huge, around 1000+ records). We found few tags like DisplayTags
from sourceforge.net but the current version does not support batch
lists (i.e. retrieving the list in batches based on the page the user is
in, instead of retrieving all in once). Is there a tag in Struts/JSTL
that would help display huge lists. Any help is appreciated.

Thanks,
Srini

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






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

Reply via email to