> 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.

-- 
Michael Allan

http://zelea.com/


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

Reply via email to