On Fri, 25 Mar 2011 13:23:25 -0300, Chris Norris <thechrisproject.li...@gmail.com> wrote:

I have a loop which generates form components. Each one needs some
very custom validation. I know I can create a validator that will take
in a constraint, but the constraint in the template has to be static.

This is not correct. The default validate parameter binding is validate, but you can use prop:validator and have a getValidator() method that returns a FieldValidator instance.

--
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

Reply via email to