Don't know/understand what bothers you with the standard email validator.
For instructions on defining your own validator, look at the wiki under
tapestry 4, howtos.
ציטוט Anjali Abraham:
Yes I agree that my this code will work but the code is only for making the
email Address field Mandatory/Required field, but along with this
functionality I want to use tapestry's EmailValidator on the same field, for
that what to Add to that code so that it can validate Email Validation in
.page itself, is my doubt....
Regards,
Anjali
-----Original Message-----
From: Alexandr Kundirenko [mailto:[EMAIL PROTECTED]
Sent: Friday, August 26, 2005 1:41 PM
To: Tapestry users
Subject: Re[2]: Need help for email Validation
Hello Anjali,
This should work:
<component id="emailAddress" type="TextField">
<binding name="validators" value="validators:required,email/>
<binding name="value" value="emailAddress"/>
<binding name="displayName" value="literal:Email Address"/>
</component>
--
aku
AA> Sorry, forgot to mention the Tapestry version I am using, I am using
AA> Tapestry4.0v version.
AA> Regards,
AA> Anjali
AA> -----Original Message-----
AA> From: Anjali Abraham
AA> Sent: Friday, August 26, 2005 1:24 PM
AA> To: [email protected];
AA> [EMAIL PROTECTED];
AA> [EMAIL PROTECTED]
AA> Subject: Need help for email Validation
AA> Hi All,
AA> I would like to do Email validation in .page file. My code
in
AA> .page file for email is given below:
AA> <component id="emailAddress" type="TextField">
AA> <binding name="validators" value="validators:required/>
AA> <binding name="value" value="emailAddress"/>
AA> <binding name="displayName" value="literal:Email Address"/>
AA> </component>
AA> where do I need give emailValidator and its binding in my .page file?
AA> Thanks in Advance,
AA> Anjali
AA> ---------------------------------------------------------------------
AA> To unsubscribe, e-mail:
AA> [EMAIL PROTECTED]
AA> For additional commands, e-mail:
AA> [EMAIL PROTECTED]
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]