Is the solution to add 
AjaxFormComponentUpdatingBehavior/AjaxFormChoiceComponentUpdatingBehavior to 
each of the editable form components?

-----Original Message-----
From: Corbin, James [mailto:[email protected]] 
Sent: Thursday, April 29, 2010 4:42 PM
To: [email protected]
Subject: AjaxFallbackDefaultDataTable Model Not Updating

A co-worker of mine created an AjaxFallbackDefaultDataTable with editable 
cells.  In this case they are dropdowns.  She is dynamically adding rows to the 
table.  If she modifies one of the component drop down (PropertyModel) values 
in one of the cells and then adds a new row, the changes she made to the 
previous row(s) are lost.

She noticed that the setter method on the property is not called, but the 
getter is being called.  I'm pretty sure that if she submits the form the model 
would get updated (normal form processing) and her changes would be persisted 
to the model, but how can she get the model to update without submitting the 
form?

I seem to remember previous forum topics related to this issue, but couldn't 
remember the suggested solutions.

Does the solution have to do with selecting a different ItemReuseStrategy?

 Thanks,
J.D.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to