You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ju...@atosodsorigin.com on 2002/11/06 14:00:04 UTC
validator works in jbuilder6 navigator but not with iexplorer, Netscape,,,,
Can someone help me to find the problem.
When I'm developing an application de navigator of jbuilder works OK, I can
se it with the debuger realizing the validation inside an Action.
Stopping in the same place with an external navigator validations fails, and
do nothings.
Any Idea?
Thanks
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: validator works in jbuilder6 navigator but not with iexplorer, Netscape,,,,
Posted by Dan Tran <da...@hotmail.com>.
JBuilder doesnot have a full pledge brower. Use
the external instead (ie IE or Nestcape).
-Dan
----- Original Message -----
From: <Ju...@atosodsorigin.com>
To: "Struts Newsgroup" <st...@jakarta.apache.org>
Sent: Wednesday, November 06, 2002 7:43 AM
Subject: Re: validator works in jbuilder6 navigator but not with iexplorer,
Netscape,,,,
> I have found the problem, it's with the value
> of locale.
> lenguage="es"
> country="" don´t work -->explorer
>
> lenguage="es"
> country="ES" does works. ---> jbuilder
>
> How can I solve this problem?
>
>
> validator.java :
>
> if (hResources.containsKey(LOCALE_KEY)) {
> locale = (Locale)hResources.get(LOCALE_KEY);
> }
> hResources.put(VALIDATOR_KEY, this);
> locale=null; <------------------------------------------- BAD
SOLUTION but works
> if (locale == null) {
> locale = Locale.getDefault();
> }
>
>
>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: validator works in jbuilder6 navigator but not with iexplorer, Netscape,,,,
Posted by Ju...@atosodsorigin.com.
I have found the problem, it's with the value
of locale.
lenguage="es"
country="" don´t work -->explorer
lenguage="es"
country="ES" does works. ---> jbuilder
How can I solve this problem?
validator.java :
if (hResources.containsKey(LOCALE_KEY)) {
locale = (Locale)hResources.get(LOCALE_KEY);
}
hResources.put(VALIDATOR_KEY, this);
locale=null; <------------------------------------------- BAD SOLUTION but works
if (locale == null) {
locale = Locale.getDefault();
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>