struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "struts (H2Opilot)" <str...@h2opilot.de>
Subject Problem with Logic-iterate and enumeration
Date Thu, 06 Jun 2002 14:40:07 GMT

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:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message