I had the same rpoblem and i have used nested tags as suggested by Niall and
it works fine.


http://jakarta.apache.org/struts/userGuide/dev_nested.html

http://www.keyboardmonkey.com/index.jsp


With Regards

Partha


-----Original Message-----
From: Dixit, Shashank (Cognizant) [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 2:47 PM
To: [EMAIL PROTECTED]
Subject: ArrayList in Form


Hello All

I have a ArrayList in the form which contains a CustomObject "TheROw". I
iterate thr this arraylist to display it by <logic:iterate> as follows. This
row will contain many fields such as rate or amount.

<logic:iterate id="currentRow" name="theForm" property="rows"
type="com.custobj.TheRow" >
\\ Display all rows
</logic:iterate>


PROBLEM : When the form gets submitted with rate or amount changed I expect
I will get ArrayList back by changed values. But No change happens in the
values.

Does that mean that If one uses ArrayList in the form, it can be used for
the purpose of display only. If User changes some value we will not get
those changed values. 

Pls suggest solution or tell me if I am making some mistake over here.



Shashank S. Dixit 
Cognizant Technology Solutions Pvt. Ltd. 
Hinjewadi,
Pune
Mobile : 98904 25400 

An Obstacle is something you see when you take your eyes off the goal.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to