Here's roughly what you want to do to get 'Foo is an invalid email
address':
Make sure you've added this to you ApplicationResources.properties
file as the 'email' rule expects a message named 'errors.email' - check
the code for it
and you will see.
errors.email={0} is an invalid e-mail
Hi Jeff,
|| -Original Message-
|| From: Jeff Kyser [mailto:[EMAIL PROTECTED]
|| Sent: vrijdag 3 oktober 2003 14:24
|| To: Struts Users Mailing List
|| Subject: Re: Simple validator question
||
...
|| field property=emailField depends=email
Mailing List'
Subject: RE: Simple validator question
Hi Jeff,
|| -Original Message-
|| From: Jeff Kyser [mailto:[EMAIL PROTECTED]
|| Sent: vrijdag 3 oktober 2003 14:24
|| To: Struts Users Mailing List
|| Subject: Re: Simple validator question
||
...
|| field
|| -Original Message-
|| From: Fenderbosch, Eric [mailto:[EMAIL PROTECTED]
|| Sent: vrijdag 3 oktober 2003 15:19
|| To: Struts Users Mailing List
|| Subject: RE: Simple validator question
||
||
|| I haven't tried it, but would something like this work?
||
|| field
4 matches
Mail list logo