struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lisa Woodring (EUS)" <EUSL...@am1.ericsson.se>
Subject suggestion for <struts:iterate> tag
Date Tue, 26 Sep 2000 22:42:34 GMT
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



Mime
View raw message