Here's what I do in some code, if it's any help - am sure you can manipulate it:
<logic:iterate id="parameter" name="ParametersForm"
property="parameterList">
<TR>
<TD WIDTH="50%"><FONT SIZE="2" FACE="Helvetica,Verdana,Arial"
COLOR="BLACK">
<bean:write name="parameter" property="key"/></FONT>
</TD>
<TD WIDTH="50%"><FONT SIZE="2" FACE="Helvetica,Verdana,Arial">
<html:text name="parameter" property="value" size="30"/></FONT>
</TD>
</TR>
</logic:iterate>
David
Shamdasani Nimmi-ANS004 <[EMAIL PROTECTED]> on
02/28/2001 04:22:40 PM
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'"
<[EMAIL PROTECTED]>
cc: (bcc: David Hay/Lex/Lexmark)
Subject: PLEASE HELP: How would I use the iterate tag here?
Hi,
Could someone help me with replacing the JSP code below with iterate tag
<logic:iterate> ? I have tried various permutations of <logic:iterate> but have
been unsuccessful.
---------------------------------------------------------------------------
<jsp:useBean id="user" scope="session"
type="com.motorola.mms.msqc.beans.UserBean"/>
</TABLE>
<%
Hashtable hashTable = (Hashtable) user.getSuppliers();
for (Enumeration e = hashTable.elements(); e.hasMoreElements(); )
{
SupplierBean supplier = (SupplierBean) e.nextElement();
%>
<TR>
<TD ><FONT face = "Arial">supplier.getCode() %></FONT></TD>
<TD><FONT face = "Arial"><%= supplier.getName() %></FONT></TD></FONT></TD>
<TD><FONT face = "Arial"><%= supplier.getCountryName() %></FONT></TD>
</TR>
<% } %>
</TABLE>
---------------------------------------------------------------------------
I can really use some help. Thanks in advance
-Nimmi