RE: Mask validation

2006-04-25 Thread Marisol Opreni
This was the answer! ^[a-zA-Z0-9_]{8}$ Thanks everybody! Marisol. -Mensaje original- De: Kalcevich, Daniel [mailto:[EMAIL PROTECTED] Enviado el: Martes, 25 de Abril de 2006 11:33 a.m. Para: Struts Users Mailing List Asunto: RE: Mask validation Remove the {8} from the Mask and also

RE: Mask validation

2006-04-25 Thread Marisol Opreni
If the user enters less than 8 char appears a message... If he enters more than 8 char appears a message... I don't want to drive him mad ;) With the mask validation I want to show only ONE message to the user... -Mensaje original- De: Kalcevich, Daniel [mailto:[EMAIL PROT

RE: Mask validation

2006-04-25 Thread Kalcevich, Daniel
that do what you are looking for? Daniel -Original Message- From: Marisol Opreni [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 7:40 AM To: 'Struts Users Mailing List' Subject: RE: Mask validation I need to be 8 characters, nor more neither less... -Mensaje origin

RE: Mask validation

2006-04-25 Thread Chaudhary, Harsh
ED] Sent: Tuesday, April 25, 2006 9:30 AM To: 'Struts Users Mailing List' Subject: Mask validation Hi. How can I specify a mask with letters, underscores and numbers with only 8 charaters in total? Something like this? [a-zA-Z0-9]{8}$ Thanks! Marisol. -

RE: Mask validation

2006-04-25 Thread Marisol Opreni
I need to be 8 characters, nor more neither less... -Mensaje original- De: Kalcevich, Daniel [mailto:[EMAIL PROTECTED] Enviado el: Martes, 25 de Abril de 2006 11:33 a.m. Para: Struts Users Mailing List Asunto: RE: Mask validation Remove the {8} from the Mask and also include the

RE: Mask validation

2006-04-25 Thread Kalcevich, Daniel
- From: Marisol Opreni [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 7:30 AM To: 'Struts Users Mailing List' Subject: Mask validation Hi. How can I specify a mask with letters, underscores and numbers with only 8 charaters in total? Something like this? [a-zA-Z0-9]{8}$

Mask validation

2006-04-25 Thread Marisol Opreni
Hi. How can I specify a mask with letters, underscores and numbers with only 8 charaters in total? Something like this? [a-zA-Z0-9]{8}$ Thanks! Marisol.

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Kishore Senji
Here is the test case import java.io.*; import java.util.*; import org.apache.commons.validator.*; public class TestValidatorMask{ public static void main(String[] args) throws Exception { ValidatorResources vr = new ValidatorResources(getFormSetAsInputStream()); Form form = vr.getFor

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Kishore Senji
> Hi Kishore, thanks for the tip... I tried what you suggested but it didn't > work... while googling for answers I read somewhere that including UNICODE > codes was only possible in *.properties files, not in *.XML ... from my > experience, that seems to be right... You are right. You have to dec

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Carlos Cajina - Hotmail
o: "Struts Users Mailing List" Sent: Monday, January 31, 2005 7:47 PM Subject: Re: [UNICODE characters in Mask validation rule] Good evening. I'm a little stuck trying to create a global constant in validation.xml that allows the mask rule to validate "special" spanish

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Carlos Cajina - Hotmail
i" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, January 31, 2005 7:47 PM Subject: Re: [UNICODE characters in Mask validation rule] Good evening. I'm a little stuck trying to create a global constant in validation.xml that allows the mask rule to vali

Re: [UNICODE characters in Mask validation rule]

2005-01-31 Thread Kishore Senji
> Good evening. I'm a little stuck trying to create a global constant in > validation.xml that allows the mask rule to validate "special" spanish > characters like Ñ [ UNICODE = \u00d1 ] for names, surnames, city names and > so... Can someone give a hint ;^) ? Mi RegExp is like this: ^[A-Z.Ñ\s]

[UNICODE characters in Mask validation rule]

2005-01-31 Thread Carlos Cajina
Good evening. I'm a little stuck trying to create a global constant in validation.xml that allows the mask rule to validate "special" spanish characters like Ñ [ UNICODE = \u00d1 ] for names, surnames, city names and so... Can someone give a hint ;^) ? Mi RegExp is like this: ^[A-Z.Ñ\s]*$ Rega