Sorry about the mislabeled subject line. It should have been "logic tag question" :)
-----Original Message----- From: Jones, Marty B. Sent: Tuesday, August 05, 2003 7:04 AM To: [EMAIL PROTECTED] Subject: Html tag question I have an array of Project objects that are stored within a ActionForm class (say ShowFileDiffsForm). I have a getter and setter on the ShowFileDiffsForm: Project[] getProjects() void setProjects(Project[] projects) The Project object itself has the attributes: int id; String name My question is how can I build a logic:iterate tag to iterate over the array of project objects.? Here is what I have so far <logic:iterate id="element" name="showFileDiffsForm" property="projects" indexId="index"> <li><em><bean:write name="element.name"/></em> [<bean:write name="index"/>]</li> </logic:iterate> The one thing that I don't know how to do is to write the name and the project id out for each iteration. ] Can anyone shed any light on this? ________________________ Marty B. Jones Senior Software Engineer DailyAccess.Com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]