This is for T4 right?

To use a bean you need to use $name for a bean.

http://jakarta.apache.org/tapestry/UsersGuide/validation.html

so:

validators:$myCustomValidator,required should work.

----- Original Message ----- From: "Aleksej" <[EMAIL PROTECTED]>
To: "tapestry-user" <[email protected]>
Sent: Friday, February 10, 2006 12:50 AM
Subject: How to mix my custom Validator ( bean ) with default validators?


Hi!
I have my own validator which checks database and I want to mix it with default
"required" validator ( or any other including my own ).
Syntax like that is not working:
<binding name="validators" value="bean:myCustomValidator, validators:required" />
I tried various combinations but with the same result.
Is it possible at all?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to