aspose file tools
The moose likes Struts and the fly likes Nested Iterate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Nested Iterate" Watch "Nested Iterate" New topic

Nested Iterate

Eusebio Floriano
Ranch Hand

Joined: Mar 07, 2004
Posts: 237
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

SCJP 1.4 / 5.0 - SCBCD 1.3 - SCWCD 1.4 - IBM 484
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
u should be create Custome Tag for your iteration or u can use JSTL but JSTL syntax not like your requirement ...

Java Developer, Thailand
Eusebio Floriano
Ranch Hand

Joined: Mar 07, 2004
Posts: 237
It is a very common necessity. It should be handled by strtu�s tag.
Thx for your help
Rick Nendza

Joined: May 16, 2004
Posts: 5
try the struts nested taglibs. (struts-nested.tld)

Also see
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Nested Iterate