Dave Newton wrote:
Wouldn't mind break or continue, though--I might use those sometimes.

Taking a look at org.apache.struts2.components.IteratorComponent makes me think it wouldn't be too tough to add another tag that's only valid somewhere inside an iterator that would enable something like the following to work:

<table>
  <tr>
    <th>Column 1</th>
    <th>Column 2</th>
    <th>Column 3</th>
  </tr>
  <s:iterator value="%{someList}">
    <tr>
      <td><s:property /></td>
      <s:iterNext>
        <td><s:property /></td>
      </s:iterNext>
      <s:iterNext>
        <td><s:property /></td>
      </s:iterNext>
    </tr>
  </s:iterator>
</table>

That output can otherwise be difficult to construct...

-Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to