On Sat, 2008-06-14 at 09:52 -0400, Michael Allan wrote:
> > Is there an easy way to detect what model objects have changed as a result 
> > of
> > a form submission? I see that wicket compares the old values to the
> > submitted values but where can I hook into tthat change detection? I have a
> > data grid with many rows and only a few could change.
> 
> Override IModel.setObject(object) in a model subclass.  Have it set a
> boolean flag isChanged.  Remember to clear the flag, after you read
> it, and act on it.
> 
Or see Component.modelChanged()


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

Reply via email to