my dog learned polymorphism*
The moose likes Struts and the fly likes Accessing an element in a List Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Accessing an element in a List " Watch "Accessing an element in a List " New topic
Author

Accessing an element in a List

Nikki Freeman
Greenhorn

Joined: Nov 03, 2005
Posts: 10
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>
 
 
subject: Accessing an element in a List
 
Similar Threads
HTML:OPTIONS
how to use- html:checkbox - and iterate it through - logic:iterate
Using checkbox/multibox to delete items from a list
Iterate Hashmap through struts
Passing parameters to an Action Form