This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Struts and the fly likes Accessing an element in a List Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Accessing an element in a List
 
Similar Threads
how to use- html:checkbox - and iterate it through - logic:iterate
HTML:OPTIONS
Using checkbox/multibox to delete items from a list
Iterate Hashmap through struts
Passing parameters to an Action Form