Hi,
I have an implementation just like the monkey-tree example where I have a
button to add more fields in a form dynamically. The button is a Submit
button which is mapped to a nested bean's property. By default the the
button adds one set of nested (recursively) fields. I want it to add
user-defined no of rows. For that I have a text field mapped to another
property of the same nested bean. I get that value and add the specified no
of rows. It works fine but sometimes I get the following problem.

Sometimes properties are populated before the other which causes great
confusion. E.g if the 'noOfFieldsToAdd' property is populated after the
'addMoreFields' (the button) property I wont get the correct output. Also I
see that some properties are populated twice instead of once which is also a
bit confusing.

Is there any order in which the fields are populated? Can i control this? Or
maybe I am using it in the wrong way?

Thanks a lot.

Affan


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

Reply via email to