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 Struts2 <s:iterator /> question 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 "Struts2 <s:iterator /> question" Watch "Struts2 <s:iterator /> question" New topic
Author

Struts2 <s:iterator /> question

Ruben Demuynck
Greenhorn

Joined: Dec 26, 2004
Posts: 3
Hello,



The fileNames is a String[]
I know I can retrieve the current String in the loop with <s:property/>, but i also want to give this value to my custom tag (see the ???).
However I want to send the value as a parameter when calling the listfiles action. But i can't do:
<s:param name="path" value="<s:property/>" /> .
I have been looking for a while now and tried all sorts of things but I cannot find a solution.
Can anybody tell me how I can do this?

Thanks!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Struts2 <s:iterator /> question
 
Similar Threads
List values are not bind with text fields
Update Database with the newly entered value
passing form parameters such us textfield values using url tag
Struts2---Problem to use s:iterator and s:date to display and pass value
accesing value from list of string