Thanks for the reply. Calling clearInput() on the form components works. It has to be done on each individual component though, it seems. Is there a way to do it on the entire form, or a way to group fields on the form and do it on the group?
Thanks -----Original Message----- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 07, 2008 10:28 PM To: [email protected] Subject: Re: DropDownChoice.onSelectionChanged() and model updating when you submit a form the fields remember their "raw" values. if in onselectionchanged() of the ddc you change something that will change values of these other form components and you want that reflected you need to call clearInput() or modelUpdated() on those form components. -igor On Wed, May 7, 2008 at 1:46 PM, Andrew Broderick <[EMAIL PROTECTED]> wrote: > Hi, > > I have a form that I want to repopulate when a drop down list is changed. If > I change the underlying domain object in the onSelectionChanged(), the form > fields are not updated to reflect the changes (yes, they do use a dynamic > model). However, if I have a button next to the drop down list and the user > clicks it, the exact same processing happens, and the form is updated. Why is > this, and how can I get onSelectionChanged() to behave the same way? > > Thanks > > > > _______________________________________________________ > > The information in this email or in any file attached > hereto is intended only for the personal and confiden- > tial use of the individual or entity to which it is > addressed and may contain information that is propri- > etary and confidential. If you are not the intended > recipient of this message you are hereby notified that > any review, dissemination, distribution or copying of > this message is strictly prohibited. This communica- > tion is for information purposes only and should not > be regarded as an offer to sell or as a solicitation > of an offer to buy any financial product. Email trans- > mission cannot be guaranteed to be secure or error- > free. P6070214 > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
