Thank You So much, Yaa it really worked. Thanks once again. Regards, Anjali
-----Original Message----- From: Filip S. Adamsen [mailto:[EMAIL PROTECTED] Sent: Friday, August 26, 2005 5:23 PM To: Tapestry users Subject: Re: Need help for email Validation Look, His proposed code was: 1: <component id="emailAddress" type="TextField"> 2: <binding name="validators" value="validators:required,email" /> 3: <binding name="value" value="emailAddress" /> 4: <binding name="displayName" value="literal:Email Address" /> 5: </component> Notice how the "validators" binding in line 2 is "validators:required,email", and not "validator:required". This will make Tapestry validate the field with its email validator. -Filip Anjali Abraham wrote: > 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]
