Warning: Theory ahead...

Since the HTML tables actually have the columns in sequence

(ie:
<tr>
<td><!-- Iterate odd here --></td>
<td><!-- Iterate even here --></td>
</tr>
)

You could iterate through all of the odd ones when you build the first 
column, then all the even ones on the second column...


Its friday and Andy Rooney still wants to be implanted with a 
microchip...  




-----Original Message-----
From: marrotte [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 11, 2002 9:52 PM
To: struts-user
Subject: Iterate with multicolumn data...


What's the best way to display multicolumn (e.g. 2-column) lists in 
Struts,
with say Iterate?

Say I have the list a,b,c,d,e,f...  But, I want to display it as:
C1 C2
a  b
c  d
e  f
...

Any help is greatly appreciated.

Thanks,

--Michael Marrotte


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



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

Reply via email to