You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by "Lisa Woodring (EUS)" <EU...@am1.ericsson.se> on 2000/09/27 00:42:34 UTC

suggestion for tag

I would like to make the following suggestion as an improvement to the
<struts:iterate> tag.
The ability to specify the name of the "lengthCount" variable, such that it
could be used inside the body of the tag, something to the effect of:

<struts:iterate varName="lengthCount"
                name="CollectionName" property="iterator" id="entry">
   <tr>
      <td>
         <%= lengthCount %>
      </td>
      <td>
         <%= ((Entry)entry).getValue() %>
      </td>
   </tr>
</struts:iterate>


Lisa