Or perhaps something like....? <%! int count = 0 %> <logic:iterate * * *> <tr> <logic:iterate * * * length="3" offset="<%= count %>"> <td><bean:write * * * /></td> </logic:iterate> </tr> <% count += 3 %> </logic:iterate>
Mark -----Original Message----- From: struts (H2Opilot) [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 10:40 AM hi, I have a List of Numbers and I like to use 3 columns and n rows. Is there a possible way to realise this via Logic-iteration. Normally, it look like that every next step in the iteration there is always another row. Like this: <table width="100%" border="0" cellspacing="1" cellpadding="1"> <logic:iterate id="element" name="bla_f" property="numberss" type="app.Data"> <tr bordercolor="#333366"> <td> <bean:write name="element" property="number"/> </td> <td> ****** this should be the next element of Data, but how increment the element?? ***** <bean:write name="element" property="number"/> </td> </tr> </logic:iterate> </table> any ideas? -- 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>