Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
Further to my message below, com.opensymphony.xwork2.util.LocalizedTextUtil.createMissesKey() method hasn't been implemented until 2.0.8. Can anyone confirm that they have localized validation working, as below, with 2.0.9? Thanks, Dean. -Original Message- From: Dean Pullen [mailto:[EMA

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
ions which > ultimately extend > ActionSupport. > > struts.i18n.reload=true isn't set, but I am > restarting the apps server > fully each time. > > -Original Message- > From: Ian Roughley [mailto:[EMAIL PROTECTED] > Sent: 09 October 2007 21:4

RE: Bug in 2.0.9 regarding validation localization?

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

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

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, com.opensymphony.xwork2.util.Localized

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
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. /Ian Dean Pullen wrote

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
t: 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: struts.custom.i18n.resources=struts-messages If thats what you mean? I get other localized properties from it no problem, e.g. using -Ori

Re: Bug in 2.0.9 regarding validation localization?

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

RE: Bug in 2.0.9 regarding validation localization?

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

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 a

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 s

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
a package.properties, (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 kno

Re: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Ian Roughley
ion.properties and a package.properties, (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 kno

RE: Bug in 2.0.9 regarding validation localization?

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

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dean Pullen
o 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 although I previously had it as

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 b

RE: Bug in 2.0.9 regarding validation localization?

2007-10-09 Thread Dave Newton
ption > is quite explicit, > 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 Ma

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 de

RE: Bug in 2.0.9 regarding validation localization?

2007-10-10 Thread Dean Pullen
end > ActionSupport. > > struts.i18n.reload=true isn't set, but I am > restarting the apps server > fully each time. > > -Original Message----- > From: Ian Roughley [mailto:[EMAIL PROTECTED] > Sent: 09 October 2007 21:42 > To: Struts Users Mailing List > Sub