struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bOOyah <>
Subject How can I display a table in two columns?
Date Tue, 06 Apr 2004 14:31:17 GMT
Hi all

I have a 2-column table containing 16 row items, each with an associated 
checkbox.  Right now I'm iterating over a List to render each row of the 
table.  Column 1 contains the checkboxes; column 2 contains the items.

So my table currently looks like this (x == a checkbox):

     x item-1
     x item-2
     . . .
     x item-16

Is there a straightforward way to iterate my List so as to render my 
table as two columns (four columns really) of 8 rows each?   Like this:

     x item-1    x item-9
     x item-2    x item-10
     . . .       . . .
     x item-8    x item-16


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message