wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 235
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: 235
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 http://www.keyboardmonkey.com/next/index.jsp
I agree. Here's the link: http://aspose.com/file-tools
subject: Nested Iterate
Similar Threads
problem with logic:iterate
about logic:iterate
s:iterator within s:select
logic:iterate functionality with jsf
iterate through String [] issue