This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Nested Iterate  RSS feed

 
Eusebio Floriano
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

How can i get i nested iterate since the tag don�t support it.
I would like something like

<logic:iterate id="element1" name="myCollection">
<logic:iterate id="element2" name="myOtherCollection">
//my code
</logic:iterate>
</logic:iterate>
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u should be create Custome Tag for your iteration or u can use JSTL but JSTL syntax not like your requirement ...
 
Eusebio Floriano
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a very common necessity. It should be handled by strtu�s tag.
Thx for your help
 
Rick Nendza
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try the struts nested taglibs. (struts-nested.tld)

Also see http://www.keyboardmonkey.com/next/index.jsp
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!