[EMAIL PROTECTED] wrote: > Hey all, > > Sorry if the subject is a little cryptic. > > Here's what I'm trying to do: > > I've got a list of objects, and I'm displaying three (short) fields within a > scrollable div. > > For larger result sets, since the fields are short what I'd like to do is > continue a second "page" of results next to the first one. >
You may be able to use a decorator to do this. If you know at which row to start the new table you can write code similar to this in your decorator: int currentRow = 0; int maxRows = 20; public String finishRow() { if (++currentRow > maxRows) { currentRow = 0; return "</tbody></table><table><tbody>"; } The code above won't get you column headings on the second table but I expect with a bit of trawling about in the DisplayTag code you can find where and how they're output. Having split the displaytable into two tables you can then use css to position them correctly. Ed! ------------------------------------------------------------------------- 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=/ _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user