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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Nested Iterate" Watch "Nested Iterate" New topic
Author

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
</logic:iterate>
</logic:iterate>


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 ...


SCJA,SCJP,SCWCD,SCBCD,SCEA I
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
Greenhorn

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

Also see http://www.keyboardmonkey.com/next/index.jsp
 
 
subject: Nested Iterate