Em Thu, 15 Oct 2009 20:16:51 -0300, Igor Drobiazko <igor.drobia...@gmail.com> escreveu:

A further argument not to do the validation inside the form component
is the decoration of fields. In case of errors more code is needed to
highlight the fields in error.

I'm proposing that the Form component should invoke the object validation service after the property-level validation is done and then registering the erros using form.recordError();. This way, field decoration works as it works now,

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

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

Reply via email to