You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Martin Strand <ma...@entcap.se> on 2006/05/10 00:31:36 UTC

Re: Validation on Tapestry 4

<input jwcid="something@TextField" validators="validators:Email">

There are a few validators that come with Tapestry:
http://jakarta.apache.org/tapestry/UsersGuide/validation.html#validation.fields

You can also define your own via the configuration point  
"tapestry.form.validator.Validators".

Martin

On Wed, 10 May 2006 02:22:07 +0300, Rui Pacheco <ru...@gmail.com>  
wrote:

> Anyone, someone... Could you provide me with an example of validation in
> Tapestry 4? Is it possible to do it inline in the html, something like
> <input jwcid="something@TextField" validation="Email"> ?
>
> I have been searching on the net, but the examples that I see are only  
> for
> Tapestry 3 and the ones for Tapestry 4 don't touch validation at all.
>
> --
> Cumprimentos,
> Rui Pacheco
>



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