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]*$
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]*$
Mailing List user@struts.apache.org
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
characters like Ñ
@struts.apache.org
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
characters like Ñ [ UNICODE = \u00d1 ] for names
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
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 =
6 matches
Mail list logo