Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing an element in a List

 
Nikki Freeman
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am working on an app for resume wizard.

I would like to display a List and allow a user to select one of the elements from the List to edit. Any ideas on how to do this? See code below:

<html:form action="\editExperience.do">
<logic:iterate id="element" name="ExperienceForm"
property="ExperienceVO" type="COM.SWACORP.mitweb.ValueObject.experieceVO" offset="false"> <LI>
<html:submit indexed="true">Edit</html:submit>
<B>Previous Employment: </B><bean:write name="element"
property="employment" />,
<B>Years: </B><bean:write name="element" property="yearsEmp" />,
<B>Responsiblity: </B><bean:write name="element"
property="responsiblity" />
</logic:iterate>
</html:form>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic