On Mon, 28 Feb 2011 10:00:05 -0300, LLTYK <ll...@mailinator.com> wrote:
I'd like to conditionally add some validation using a mixin, maxLength
and required for example. Can a mixin somehow alter the validate
attribute of a field?
No, at least not directly. Take a look at ValidationConstraintGenerator.
That's the service that defines the validations automatically applied to a
property.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org