I am not exactly sure why you mean by case-insensitive.  But if you use
[a-zA-Z] in your mask regexp, then the validator knows you want to accept
all the letters.  Is that what you asked?

-Yan

-----Original Message-----
From: mike jackson [mailto:[EMAIL PROTECTED] 
Sent: April 13, 2004 16:25
To: 'Tomcat Users List'
Subject: RE: struts validator


Yes there is, it works quite nicely I don't really want to re-write it.  I
just want to know if there's a property I can set on the mask or something
to be case insensitive.

--mikej
-=------
mike jackson
[EMAIL PROTECTED]

> -----Original Message-----
> From: electroteque [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 13, 2004 2:22 PM
> To: Tomcat Users List
> Subject: RE: struts validator
> 
> Is there a form validator in struts, is it customizable ? If so maybe
> extend
> the class ?
> 
> > -----Original Message-----
> > From: mike jackson [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, April 14, 2004 8:17 AM
> > To: 'Tomcat Users List'
> > Subject: struts validator
> >
> >
> > I'm using masks to validate some fields using the validator in
> > struts.  But
> > my masks are getting extremely complex trying to deal with both lower
> case
> > and upper case possibilities.  Is there a way to specify that the mask
> > should be evaluated as case insensitive?
> >
> > --mikej
> > -=------
> > mike jackson
> > [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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to