,
I'd file a bug, but there doesn't seem to be any
recent activity on the
Struts 2 JIRA.
-Original Message-
From: Dean Pullen [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:46
To: Struts Users Mailing List
Subject: RE: Bug in 2.0.9 regarding validation
localization
.
-Original Message-
From: Ian Roughley [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:42
To: Struts Users Mailing List
Subject: Re: Bug in 2.0.9 regarding validation
localization?
what is the values of struts.locale, and does the
SalesSurveyAction
extend ActionSupport or does
Message-
From: Dean Pullen [mailto:[EMAIL PROTECTED]
Sent: 10 October 2007 09:06
To: Struts Users Mailing List
Subject: RE: Bug in 2.0.9 regarding validation localization?
I've just done a very simple test too and it appears to be working.
I'll endeavour to find out what's wrong and report
Maybe I simply shouldn't of over-ridden getLocale from ActionSupport...
-Original Message-
From: Dean Pullen [mailto:[EMAIL PROTECTED]
Sent: 10 October 2007 11:51
To: Struts Users Mailing List
Subject: RE: Bug in 2.0.9 regarding validation localization?
Well well well
I've found
--- Dean Pullen [EMAIL PROTECTED] wrote:
Maybe I simply shouldn't of over-ridden getLocale
from ActionSupport...
:D
Probably not. I did much the same thing with another
ActionSupport-implemented method once; didn't catch it
for 3+ weeks :/
Glad you found it!
d.
I can confirm that it works. Do you have the struts-messages.properties
defined as an additional properties file in struts.xml? This is not a
standard property file name that is picked up by default.
/Ian
Dean Pullen wrote:
Further to my message below,
To: Struts Users Mailing List
Subject: Re: Bug in 2.0.9 regarding validation localization?
I can confirm that it works. Do you have the struts-messages.properties
defined as an additional properties file in struts.xml? This is not a
standard property file name that is picked up by default
October 2007 20:05
To: Struts Users Mailing List
Subject: RE: Bug in 2.0.9 regarding validation localization?
Thanks Ian.
This is in struts.xml:
struts.custom.i18n.resources=struts-messages
If thats what you mean?
I get other localized properties from it no problem, e.g. using s:text
name
, I sincerely hope someone can help.
Dean.
-Original Message-
From: Dean Pullen [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 20:05
To: Struts Users Mailing List
Subject: RE: Bug in 2.0.9 regarding validation localization?
Thanks Ian.
This is in struts.xml
...
Chris
-Original Message-
From: Ian Roughley [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 09, 2007 4:00 PM
To: Struts Users Mailing List
Subject: Re: Bug in 2.0.9 regarding validation localization?
Now I know that it works with package.properties. Have you tried using
a key without
Makes no difference Ian :-/
-Original Message-
From: Ian Roughley [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:00
To: Struts Users Mailing List
Subject: Re: Bug in 2.0.9 regarding validation localization?
Now I know that it works with package.properties. Have you tried using
I appreciate you trying to get to the root of it, but no, there's no
typo.
-Original Message-
From: Christopher Loschen [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:05
To: Struts Users Mailing List
Subject: RE: Bug in 2.0.9 regarding validation localization?
I'm sure you've
, (exact
naming), in the same folder.
They both contain: hello=Hello
-Original Message-
From: Ian Roughley [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:00
To: Struts Users Mailing List
Subject: Re: Bug in 2.0.9 regarding validation localization?
Now I know that it works
, (exact
naming), in the same folder.
They both contain: hello=Hello
-Original Message-
From: Ian Roughley [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:00
To: Struts Users Mailing List
Subject: Re: Bug in 2.0.9 regarding validation localization?
Now I know that it works
-
From: Ian Roughley [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:42
To: Struts Users Mailing List
Subject: Re: Bug in 2.0.9 regarding validation localization?
what is the values of struts.locale, and does the SalesSurveyAction
extend ActionSupport or does your action implement
activity on the
Struts 2 JIRA.
-Original Message-
From: Dean Pullen [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:46
To: Struts Users Mailing List
Subject: RE: Bug in 2.0.9 regarding validation localization?
Currently struts.locale=en although I previously had it as en_GB prior
--- Dean Pullen [EMAIL PROTECTED] wrote:
Or does anyone have any other ideas. The exception
is quite explicit, I'd file a bug, but there doesn't
seem
to be any recent activity on the Struts 2 JIRA.
There is JIRA activity almost daily.
I'll run a simple sanity-check test case and report
back.
, but there doesn't seem to be any
recent activity on the
Struts 2 JIRA.
-Original Message-
From: Dean Pullen [mailto:[EMAIL PROTECTED]
Sent: 09 October 2007 21:46
To: Struts Users Mailing List
Subject: RE: Bug in 2.0.9 regarding validation
localization?
Currently struts.locale=en
--- Dave Newton [EMAIL PROTECTED] wrote:
I am not setting struts.locale in my struts.xml
(although I *do* get the following WARN which I'll
have to look at :/
WARN
org.apache.struts2.config.Settings.getLocale:143
- Settings: Could not parse struts.locale setting,
substituting default VM
19 matches
Mail list logo