On Tue, 13 Nov 2007, Pills wrote: > Well, I use this method to edit a record. The form is bound with the field > "formTarget". When called, it loads data in formTarget from the parameter. > > If I don't call modelChanging/modelChanged, some components like > DropDownChoices aren't properly inited, and they select old cached values. I > don't know if it is a bug or if I wrote something wrong...
Ah, maybe your formTarget.set... should be a setModelObject() instead, so that the framework would call those methods instead. Still I don't entirely get the point of the edit method; because normally you just bind the objects to be edited to model (or models) of the form and editing the form values in browser causes them to update the properties of the objects. Best wishes, Timo -- Timo Rantalaiho Reaktor Innovations Oy <URL: http://www.ri.fi/ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
