Hi, Additionally the validatable's model brings the form component model - this is the current value. The validatable's value is the next value. You can use them like in a state machine - you can move to a new state/value only from some of the other states/values, but not from all.
On Wed, Jun 26, 2013 at 8:10 AM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote: > this method is useful for validators that integrate with other > frameworks. take for example bean-validation framework. > > a bean validation validator can call getModel(), get the model, cast > it to IPropertyReflectionAwareModel, get the property, and retrieve > validation annotations associated with it. > > -igor > > > On Tue, Jun 25, 2013 at 9:53 AM, Marios Skounakis <msc...@gmail.com> > wrote: > > Hi all, > > > > What is the purpose of Validatable.model? > > > > I don't seem to be able to find any usages of Validatable.getModel(), > > setModel() or model... > > > > Thanks > > Marios > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >