Hi Rui,

Yes it is possible to do it inline.
Something like:

<input jwcid="[EMAIL PROTECTED]" validators="validators:email">

You can see more examples in:
http://jakarta.apache.org/tapestry/tapestry/ComponentReference/ValidField.html

Although this link if for Tap3's ValidField, the validator and translator
attributes are available in TextField in Tap4.

Regards,

On 5/10/06, Rui Pacheco <[EMAIL PROTECTED]> 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="[EMAIL PROTECTED]" 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




--
Pedro Viegas

Reply via email to