*
The moose likes Struts and the fly likes Struts iterator tag value attribute 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 "Struts iterator tag value attribute" Watch "Struts iterator tag value attribute" New topic
Author

Struts iterator tag value attribute

Miltos Tereres
Ranch Hand

Joined: Sep 04, 2009
Posts: 32
Hello!



How can i do the thing <s:iterator value="rm.getRights(${#cat.value})"> ?
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684

try this code ...




Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Miltos Tereres
Ranch Hand

Joined: Sep 04, 2009
Posts: 32
Thank you for your answer...
I tried also this and works

<s:iterator value="rm.getRights(#cat.key)">
 
 
subject: Struts iterator tag value attribute
 
Similar Threads
iterate doubt
Problem in showing nested lists in jsp page
How to iterate through List of objects using OGNL <s:iterator> tag in struts2
Parse a hashmap containing arraylist in struts2
how to retrive session object / struts