Hi,
try:
<logic:iterate id="facility" scope="session" name="surveyForm"
property="generalFacilityList">
<table>
<tr>
<td>
<bean:write name="facility" property="code"/>
</td>
<td>
<bean:write name="facility" property="description"/>
</td>
<td>
<html:checkbox name="facility" property="state"/>
</td>
<td>
<bean:write name="facility" property="state"/>
</td>
</tr>
</table>
</logic:iterate>
that is pure html...
hope this helps
Alexander Jesse
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 24, 2001 1:02 AM
To: [EMAIL PROTECTED]
Subject: logic:Iterate question
Hi all,
I am using the iterate tag to iterate over a collection of items stored in the
FormBean. And all work fine (so far :) ). My question is: A I have a large number of
items in the collection is it possible arrange them in columns?? Here is a code
snippet:
<logic:iterate id="facility" scope="session" name="surveyForm"
property="generalFacilityList">
<table>
<tr>
<bean:write name="facility" property="code"/>
<bean:write name="facility" property="description"/>
<html:checkbox name="facility" property="state"/>
<bean:write name="facility" property="state"/>
</tr>
</table>
</logic:iterate>
This prints everything in one long column. Is there a html thing I can use??
regards
Shea Kelly
Consultant Software Engineer
Object Oriented Pty Ltd
PO Box 528, North Sydney NSW 2059
Phone: +61 2 9957-1092
Direct: +61 2 9459-3335
Fax: +61 2 9956-5089
Mobile: 0416 110 499
Email: [EMAIL PROTECTED]
Web: < http://www.oopl.com.au <http://www.oopl.com.au/> >