File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing an element in a List
 
Similar Threads
how to use- html:checkbox - and iterate it through - logic:iterate
Iterate Hashmap through struts
Passing parameters to an Action Form
Using checkbox/multibox to delete items from a list
HTML:OPTIONS