Here u go...I have a userForm that has a list of users. Each User further has a list
of orders...here's the logic:iterate code to do what u want to do ...
<logic:iterate name="userForm" property="users" id="user">
<bean:write name="user" property="firstname"/>
<logic:iterate name="user" property="orders" id="order">
<bean:write name="order" property="orderdesc"/>
</logic:iterate>
</logic:iterate>
Sumit
-----Original Message-----
From: Raman Garg [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2003 2:46 PM
To: Struts Users Mailing List
Subject: Problem of nested logic:iterate
Hi,
I have a problem regarding struts logic:iterate
I need to show category wise listing of products. so can anybody advice me how to
create nested logic iterate loops to accomplish this.
what i need is ---- there will be two nested logic iterates
<logic:iterate
<!--this is for listing of catergory-->
<logic:iterate
<!--this is for products under a catergory-->
</logic:iterate
</logic:iterate
How can populate the inner loop variable???
Thanks in advance,
Raman Garg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]