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 <[email protected]>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 <[email protected]>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to