RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
, 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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
. -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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dave Newton
--- 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.

Re: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Ian Roughley
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,

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
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

Re: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Ian Roughley
, 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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Christopher Loschen
... 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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
, (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

Re: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Ian Roughley
, (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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
- 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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dave Newton
--- 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.

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dave Newton
, 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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dave Newton
--- 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