We've done it in our project using a jquery plugin: http://www.thoughtdelimited.org/dirtyFields/index.cfm
On Tue, Jan 18, 2011 at 3:33 AM, James Carman <ja...@carmanconsulting.com>wrote: > Couldn't you do this with JavaScript? Just modify a hidden form field if a > field is modified by the user? > > On Mon, Jan 17, 2011 at 11:23 AM, Pedro Santos <pedros...@gmail.com> > wrote: > > > or you can test if the formComponent.getConvertedInput() is different > from > > formComponent.getModelObject() at validation time (inside an IValidator > > implementation) > > > > On Mon, Jan 17, 2011 at 2:19 PM, Pedro Santos <pedros...@gmail.com> > wrote: > > > > > I guess you want to test if the raw input is different from the model > > > value. > > > > > > > > > On Mon, Jan 17, 2011 at 2:12 PM, eugenebalt <eugeneb...@yahoo.com> > > wrote: > > > > > >> > > >> Is there a way in wicket to check if a field has been modified by the > > user > > >> before submitting the form? > > >> > > >> -- > > >> View this message in context: > > >> > > > http://apache-wicket.1842946.n4.nabble.com/Check-for-User-Modified-Dirty-Fields-before-Form-Submission-tp3221228p3221228.html > > >> Sent from the Users forum mailing list archive at Nabble.com. > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > >> For additional commands, e-mail: users-h...@wicket.apache.org > > >> > > >> > > > > > > > > > -- > > > Pedro Henrique Oliveira dos Santos > > > > > > > > > > > -- > > Pedro Henrique Oliveira dos Santos > > >