see iformcomponentvalidator, or use component.getconvertedvalue() -igor
On Tue, Mar 23, 2010 at 7:45 PM, Mauro Ciancio <maurocian...@gmail.com> wrote: > Hello everyone, > > I'm coding a form validator that validates some condition in a form. > This validator needs the value from two textfields, but the model's > value isn't set when the validators run. > > Is a bad practice calling Component#updateModel to get the updated > value from the model? > I could get the component's value using #getInput but I'd need > convert the raw value. > > Cheers. > -- > Mauro Ciancio <maurociancio at gmail dot com> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org