> I use DisplayTag, but not as AJAX. It just renders (and sorts & pages) my
> lists. I'm happy with it, although it doesn't scale too well when sorting
> huge lists. On the other hand, no display library can AFAIK. So if I run
> into this problem I should let the database do the sorting.

We also use the DisplayTag and are happy with it. For scaling issues,
what
we did is that DisplayTag lets you implement an interface to hook into
the
paging and sorting so that you can let your database do the work. For
example, if you have 50 rows per page and 5000 rows total/100 pages, you
can specify the page number and number of rows to your database so that
only that portion of data is returned. When you're sorting, you don't
sort the 50 rows that are displayed, your database actually does the
sorting and returns the last 50 rows, for example.

Cheers,
Freddy
http://www.stripesbook.com

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to