Re: Problem of nested logic:iterate
I have a similiar problem. I hava a userForm that has a ArrayList of User objects, each User object has several properties: fistname, lastname, age. How can I get all User's firstname, lastname, age in an iterate? - Original Message - From: Sumit S. [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, November 13, 2003 6:35 PM Subject: RE: Problem of nested logic:iterate 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]
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
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 each category id?? Thanks in advance, Raman Garg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem of nested logic:iterate
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]