Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Nested Iterate

 
Eusebio Floriano
Ranch Hand
Posts: 237
  • 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: 237
  • 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