You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Peter Beshai <pb...@hotmail.com> on 2006/09/27 21:53:37 UTC

Access validators from tapestry.valid

How do you access validators from tapestry.valid (e.g. 
tapestry.valid.UrlValidator) as opposed to tapestry.form.validator?

I would like to use the UrlValidator, but I'm not sure how. (Is there a way 
to get validators=validators:url to work?

_________________________________________________________________
Ne perdez pas de temps dans les files d’attente… magasinez en ligne.  
http://magasiner.sympatico.msn.ca


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


Re: Access validators from tapestry.valid

Posted by Rauan Maemirov <ra...@gmail.com>.
Hi, I have the same problem. I even cannot use UrlValidator. There are no
samples on this class.
Or does anybody know how to write pattern.

I mean validators="validators:required,pattern=?"

I tried to use regex, but it returns me exceptions. 'Cause my regex is not
escaped. If i escape it, it doesn't validates my url.
-- 
View this message in context: http://www.nabble.com/Access-validators-from-tapestry.valid-tf2346942.html#a13324237
Sent from the Tapestry - User mailing list archive at Nabble.com.


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