Em Tue, 13 Oct 2009 16:46:56 -0300, Igor Drobiazko <igor.drobia...@gmail.com> escreveu:

The integration of the JSR 303 is difficult without to break the compatibility of the API beacuse the Tapestry validation mechanism is only aware of a
value being validated.

One thing that is easy to do is to provide Validator implementations based on annotations (@NotNull -> required, @Min(n) -> min=n), etc. We'll probably need to define something like an ObjectValidator<T> interface to provide validation of whole objects, not only invividual properties.

--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to