Re: ApplicationResources.properties vs Validator framework

2005-06-24 Thread James Mitchell

late-reply
Oh GOD!!!  Not this guy again!! ;)
/late-reply


--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx

- Original Message - 
From: Mark Galbreath [EMAIL PROTECTED]

To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, June 23, 2005 9:10 AM
Subject: RE: ApplicationResources.properties vs Validator framework


Your root problem is using Validator in the first place.  (1) It is a bogus 
design from the start, and (2) it never has worked as advertised.


~mark

-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 8:39 AM
To: Struts Users Mailing List
Subject: ApplicationResources.properties vs Validator framework


Hi



I have a strange problem.



I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.



But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :



message-resources parameter=ApplicationResources/



I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :





DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu..js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: getMessage(fr_CA,finalizing)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr_CA.properties'

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource completed

DEBUG

Re: [FRIDAY] ApplicationResources.properties vs Validator framework

2005-06-24 Thread Adam Hardy

But now it's Friday, so you can say what you like! Well almost.

Mark, good to have you back. I always enjoyed your posts. I take it that 
being PC is still a dogma you have no truck with?


On 24/06/05 11:22nbsp;James Mitchell wrote:

late-reply
Oh GOD!!!  Not this guy again!! ;)
/late-reply


--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
Yahoo: jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx

- Original Message - From: Mark Galbreath 
[EMAIL PROTECTED]

To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, June 23, 2005 9:10 AM
Subject: RE: ApplicationResources.properties vs Validator framework


Your root problem is using Validator in the first place.  (1) It is a 
bogus design from the start, and (2) it never has worked as advertised.


~mark

-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 8:39 AM
To: Struts Users Mailing List
Subject: ApplicationResources.properties vs Validator framework


Hi



I have a strange problem.



I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.



But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :



message-resources parameter=ApplicationResources/



I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :





DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu..js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: getMessage(fr_CA,finalizing)

DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr_CA)

DEBUG

ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
Hi

 

I have a strange problem.

 

I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.

 

But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :

 

message-resources parameter=ApplicationResources/

 

I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :

 

 

DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: getMessage(fr_CA,finalizing)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources.properties'

 



RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Mark Galbreath
Your root problem is using Validator in the first place.  (1) It is a bogus 
design from the start, and (2) it never has worked as advertised.

~mark

-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 8:39 AM
To: Struts Users Mailing List
Subject: ApplicationResources.properties vs Validator framework


Hi

 

I have a strange problem.

 

I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.

 

But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :

 

message-resources parameter=ApplicationResources/

 

I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :

 

 

DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu..js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: getMessage(fr_CA,finalizing)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale()

 DEBUG

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Nitish Kumar

To me it seems, due to a different locale, your application is looking for 
ApplicationResources_fr_CA.properties


you can try renaming your properties file to
ApplicationResources_fr_CA.properties and then deploying the application.


Thanks and Regards,
Nitish Kumar
Tavant Technologies Ltd
Bangalore


-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 6:09 PM
To: Struts Users Mailing List
Subject: ApplicationResources.properties vs Validator framework


Hi

 

I have a strange problem.

 

I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.

 

But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :

 

message-resources parameter=ApplicationResources/

 

I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :

 

 

DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: getMessage(fr_CA,finalizing)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
No

Struts is trying to load application_fr_CA.properties, and anyway I have
no application.properties, I have an ApplicationResources.properties.
One more problem to go before the problem you talking about.

-Original Message-
From: Nitish Kumar [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 9:38 AM
To: 'Struts Users Mailing List'
Subject: RE: ApplicationResources.properties vs Validator framework


To me it seems, due to a different locale, your application is looking
for 
ApplicationResources_fr_CA.properties


you can try renaming your properties file to
ApplicationResources_fr_CA.properties and then deploying the
application.


Thanks and Regards,
Nitish Kumar
Tavant Technologies Ltd
Bangalore


-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 6:09 PM
To: Struts Users Mailing List
Subject: ApplicationResources.properties vs Validator framework


Hi

 

I have a strange problem.

 

I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.

 

But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :

 

message-resources parameter=ApplicationResources/

 

I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :

 

 

DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: getMessage(fr_CA,finalizing)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr_CA.properties'

 DEBUG

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread jacob.willig
First thing that comes to mind is that you likely forgot to add the key
to the resource..
Try adding the null=true option to your resource declarations in
struts-config.xml

-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 juni 2005 15:41
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator framework


No

Struts is trying to load application_fr_CA.properties, and anyway I have
no application.properties, I have an ApplicationResources.properties.
One more problem to go before the problem you talking about.

-Original Message-
From: Nitish Kumar [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 9:38 AM
To: 'Struts Users Mailing List'
Subject: RE: ApplicationResources.properties vs Validator framework


To me it seems, due to a different locale, your application is looking
for 
ApplicationResources_fr_CA.properties


you can try renaming your properties file to
ApplicationResources_fr_CA.properties and then deploying the
application.


Thanks and Regards,
Nitish Kumar
Tavant Technologies Ltd
Bangalore


-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 6:09 PM
To: Struts Users Mailing List
Subject: ApplicationResources.properties vs Validator framework


Hi

 

I have a strange problem.

 

I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.

 

But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :

 

message-resources parameter=ApplicationResources/

 

I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :

 

 

DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
As I said, the application was working on the dev environment and now on
a new one it's not working.

But I just tried as you said to set null=true and still get empty
messages...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 9:44 AM
To: user@struts.apache.org
Subject: RE: ApplicationResources.properties vs Validator framework

First thing that comes to mind is that you likely forgot to add the key
to the resource..
Try adding the null=true option to your resource declarations in
struts-config.xml

-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 juni 2005 15:41
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator framework


No

Struts is trying to load application_fr_CA.properties, and anyway I have
no application.properties, I have an ApplicationResources.properties.
One more problem to go before the problem you talking about.

-Original Message-
From: Nitish Kumar [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 9:38 AM
To: 'Struts Users Mailing List'
Subject: RE: ApplicationResources.properties vs Validator framework


To me it seems, due to a different locale, your application is looking
for 
ApplicationResources_fr_CA.properties


you can try renaming your properties file to
ApplicationResources_fr_CA.properties and then deploying the
application.


Thanks and Regards,
Nitish Kumar
Tavant Technologies Ltd
Bangalore


-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 6:09 PM
To: Struts Users Mailing List
Subject: ApplicationResources.properties vs Validator framework


Hi

 

I have a strange problem.

 

I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.

 

But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :

 

message-resources parameter=ApplicationResources/

 

I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :

 

 

DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
I think the problem is just that default message resource is
application.properties instead of ApplicationResources.properties as
specified in the struts-config.xml. I guess I shoud try to focus on that
problem...

-Original Message-
From: Gilbert, Antoine 
Sent: June 23, 2005 8:39 AM
To: Struts Users Mailing List
Subject: ApplicationResources.properties vs Validator framework

Hi

 

I have a strange problem.

 

I have an application using validator on server side and client side
(javascript), I have an ApplicationResources.properties with all my
messages for erreor messages from validations. All is working ok.

 

But, I made a war file and deployed the application on another server,
and all validations error messages are now empty.
ApplicationResources.properties is there, and I have this line in my
struts-config.xml :

 

message-resources parameter=ApplicationResources/

 

I activated logs via log4j, and I'm not getting any significant
information except maybe this (I don't see him load
ApplicationResources.properties) :

 

 

DEBUG [org.apache.struts.action.RequestProcessor][23-06-2005 08:29:42]:
processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js
p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
ative=false,module=null])

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.required)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource 'resources/application.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: getMessage(fr_CA,errors.maxlength)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:29:43]: loadLocale()

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: getMessage(fr_CA,finalizing)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr_CA)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr_CA.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale(fr)

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource
'org/apache/struts/action/ActionResources_fr.properties'

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]:   Loading resource completed

 DEBUG [org.apache.struts.util.PropertyMessageResources][23-06-2005
08:30:21]: loadLocale()

 DEBUG

Re: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
Does your web.xml contain the following as part of the
action servlet config?

init-param
  param-nameapplication/param-name
  param-valueApplicationResources/param-value
/init-param


--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 I have a strange problem.
 
  
 
 I have an application using validator on server side
 and client side
 (javascript), I have an
 ApplicationResources.properties with all my
 messages for erreor messages from validations. All
 is working ok.
 
  
 
 But, I made a war file and deployed the application
 on another server,
 and all validations error messages are now empty.
 ApplicationResources.properties is there, and I have
 this line in my
 struts-config.xml :
 
  
 
 message-resources
 parameter=ApplicationResources/
 
  
 
 I activated logs via log4j, and I'm not getting any
 significant
 information except maybe this (I don't see him load
 ApplicationResources.properties) :
 
  
 
  
 
 DEBUG

[org.apache.struts.action.RequestProcessor][23-06-2005
 08:29:42]:

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
 ative=false,module=null])
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.required)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: getMessage(fr_CA,finalizing)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: 

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
yes

-Original Message-
From: klute [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 9:55 AM
To: Struts Users Mailing List
Subject: Re: ApplicationResources.properties vs Validator framework

Does your web.xml contain the following as part of the
action servlet config?

init-param
  param-nameapplication/param-name
  param-valueApplicationResources/param-value
/init-param


--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 I have a strange problem.
 
  
 
 I have an application using validator on server side
 and client side
 (javascript), I have an
 ApplicationResources.properties with all my
 messages for erreor messages from validations. All
 is working ok.
 
  
 
 But, I made a war file and deployed the application
 on another server,
 and all validations error messages are now empty.
 ApplicationResources.properties is there, and I have
 this line in my
 struts-config.xml :
 
  
 
 message-resources
 parameter=ApplicationResources/
 
  
 
 I activated logs via log4j, and I'm not getting any
 significant
 information except maybe this (I don't see him load
 ApplicationResources.properties) :
 
  
 
  
 
 DEBUG

[org.apache.struts.action.RequestProcessor][23-06-2005
 08:29:42]:

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
 ative=false,module=null])
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.required)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: getMessage(fr_CA,finalizing)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr.properties

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
Does there is a way for me to set in direct code (ex in a servlet 
filter) this default bundle, so I can have a work around for now

-Original Message-
From: Gilbert, Antoine 
Sent: June 23, 2005 9:58 AM
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator framework

yes

-Original Message-
From: klute [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 9:55 AM
To: Struts Users Mailing List
Subject: Re: ApplicationResources.properties vs Validator framework

Does your web.xml contain the following as part of the
action servlet config?

init-param
  param-nameapplication/param-name
  param-valueApplicationResources/param-value
/init-param


--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 I have a strange problem.
 
  
 
 I have an application using validator on server side
 and client side
 (javascript), I have an
 ApplicationResources.properties with all my
 messages for erreor messages from validations. All
 is working ok.
 
  
 
 But, I made a war file and deployed the application
 on another server,
 and all validations error messages are now empty.
 ApplicationResources.properties is there, and I have
 this line in my
 struts-config.xml :
 
  
 
 message-resources
 parameter=ApplicationResources/
 
  
 
 I activated logs via log4j, and I'm not getting any
 significant
 information except maybe this (I don't see him load
 ApplicationResources.properties) :
 
  
 
  
 
 DEBUG

[org.apache.struts.action.RequestProcessor][23-06-2005
 08:29:42]:

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
 ative=false,module=null])
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.required)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: getMessage(fr_CA,finalizing)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Marsh-Bourdon, Christopher
In that case does it contain (or path similar) within the struts-config.xml:

message-resources
parameter=com.drkw.cpds.ratings2.webapplication.struts.ApplicationResources
 /

Christopher Marsh-Bourdon
www.marsh-bourdon.com


-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] 
Sent: 23 June 2005 14:58
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator framework

yes

-Original Message-
From: klute [mailto:[EMAIL PROTECTED]
Sent: June 23, 2005 9:55 AM
To: Struts Users Mailing List
Subject: Re: ApplicationResources.properties vs Validator framework

Does your web.xml contain the following as part of the action servlet
config?

init-param
  param-nameapplication/param-name
  param-valueApplicationResources/param-value
/init-param


--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 I have a strange problem.
 
  
 
 I have an application using validator on server side and client side 
 (javascript), I have an ApplicationResources.properties with all my 
 messages for erreor messages from validations. All is working ok.
 
  
 
 But, I made a war file and deployed the application
 on another server,
 and all validations error messages are now empty.
 ApplicationResources.properties is there, and I have
 this line in my
 struts-config.xml :
 
  
 
 message-resources
 parameter=ApplicationResources/
 
  
 
 I activated logs via log4j, and I'm not getting any
 significant
 information except maybe this (I don't see him load
 ApplicationResources.properties) :
 
  
 
  
 
 DEBUG

[org.apache.struts.action.RequestProcessor][23-06-2005
 08:29:42]:

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
 ative=false,module=null])
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.required)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: getMessage(fr_CA,finalizing)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Nitish Kumar

From the log, it seems that struts is finding application.resources from
your config file. 

Just check if you have a . in the config..

Thanks and Regards,
Nitish Kumar


-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 23, 2005 7:28 PM
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator framework


yes

-Original Message-
From: klute [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 9:55 AM
To: Struts Users Mailing List
Subject: Re: ApplicationResources.properties vs Validator framework

Does your web.xml contain the following as part of the
action servlet config?

init-param
  param-nameapplication/param-name
  param-valueApplicationResources/param-value
/init-param


--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 I have a strange problem.
 
  
 
 I have an application using validator on server side
 and client side
 (javascript), I have an
 ApplicationResources.properties with all my
 messages for erreor messages from validations. All
 is working ok.
 
  
 
 But, I made a war file and deployed the application
 on another server,
 and all validations error messages are now empty.
 ApplicationResources.properties is there, and I have
 this line in my
 struts-config.xml :
 
  
 
 message-resources
 parameter=ApplicationResources/
 
  
 
 I activated logs via log4j, and I'm not getting any
 significant
 information except maybe this (I don't see him load
 ApplicationResources.properties) :
 
  
 
  
 
 DEBUG

[org.apache.struts.action.RequestProcessor][23-06-2005
 08:29:42]:

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
 ative=false,module=null])
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.required)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: getMessage(fr_CA,finalizing)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action

Re: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
btw, where exactly is your
ApplicationResources.properties located under
WEB_INF/classes?

--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 I have a strange problem.
 
  
 
 I have an application using validator on server side
 and client side
 (javascript), I have an
 ApplicationResources.properties with all my
 messages for erreor messages from validations. All
 is working ok.
 
  
 
 But, I made a war file and deployed the application
 on another server,
 and all validations error messages are now empty.
 ApplicationResources.properties is there, and I have
 this line in my
 struts-config.xml :
 
  
 
 message-resources
 parameter=ApplicationResources/
 
  
 
 I activated logs via log4j, and I'm not getting any
 significant
 information except maybe this (I don't see him load
 ApplicationResources.properties) :
 
  
 
  
 
 DEBUG

[org.apache.struts.action.RequestProcessor][23-06-2005
 08:29:42]:

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
 ative=false,module=null])
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.required)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: getMessage(fr_CA,finalizing)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
Yes, under WEB-INF/classes

-Original Message-
From: klute [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 10:05 AM
To: Struts Users Mailing List
Subject: Re: ApplicationResources.properties vs Validator framework

btw, where exactly is your
ApplicationResources.properties located under
WEB_INF/classes?

--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 I have a strange problem.
 
  
 
 I have an application using validator on server side
 and client side
 (javascript), I have an
 ApplicationResources.properties with all my
 messages for erreor messages from validations. All
 is working ok.
 
  
 
 But, I made a war file and deployed the application
 on another server,
 and all validations error messages are now empty.
 ApplicationResources.properties is there, and I have
 this line in my
 struts-config.xml :
 
  
 
 message-resources
 parameter=ApplicationResources/
 
  
 
 I activated logs via log4j, and I'm not getting any
 significant
 information except maybe this (I don't see him load
 ApplicationResources.properties) :
 
  
 
  
 
 DEBUG

[org.apache.struts.action.RequestProcessor][23-06-2005
 08:29:42]:

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
 ative=false,module=null])
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.required)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: getMessage(fr_CA,finalizing)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:30:21]:   Loading resource

'org/apache/struts/action/ActionResources_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
Only message-resources tag is

message-resources parameter=ApplicationResources/

-Original Message-
From: Marsh-Bourdon, Christopher
[mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 10:01 AM
To: 'Struts Users Mailing List'
Subject: RE: ApplicationResources.properties vs Validator framework

In that case does it contain (or path similar) within the
struts-config.xml:

message-resources
parameter=com.drkw.cpds.ratings2.webapplication.struts.ApplicationResou
rces
 /

Christopher Marsh-Bourdon
www.marsh-bourdon.com


-Original Message-
From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] 
Sent: 23 June 2005 14:58
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator framework

yes

-Original Message-
From: klute [mailto:[EMAIL PROTECTED]
Sent: June 23, 2005 9:55 AM
To: Struts Users Mailing List
Subject: Re: ApplicationResources.properties vs Validator framework

Does your web.xml contain the following as part of the action servlet
config?

init-param
  param-nameapplication/param-name
  param-valueApplicationResources/param-value
/init-param


--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Hi
 
  
 
 I have a strange problem.
 
  
 
 I have an application using validator on server side and client side 
 (javascript), I have an ApplicationResources.properties with all my 
 messages for erreor messages from validations. All is working ok.
 
  
 
 But, I made a war file and deployed the application
 on another server,
 and all validations error messages are now empty.
 ApplicationResources.properties is there, and I have
 this line in my
 struts-config.xml :
 
  
 
 message-resources
 parameter=ApplicationResources/
 
  
 
 I activated logs via log4j, and I'm not getting any
 significant
 information except maybe this (I don't see him load
 ApplicationResources.properties) :
 
  
 
  
 
 DEBUG

[org.apache.struts.action.RequestProcessor][23-06-2005
 08:29:42]:

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
 ative=false,module=null])
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.required)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr_CA.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application_fr.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource
 'resources/application.properties'
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]:   Loading resource completed
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: getMessage(fr_CA,errors.maxlength)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr_CA)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale(fr)
 
  DEBUG

[org.apache.struts.util.PropertyMessageResources][23-06-2005
 08:29:43]: loadLocale()
 
  DEBUG

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
Just a sanity check, did you open up your war and
ensured that the ApplicationResources.properties is in
fact there in WEB-INF/classes? Perhaps, your pkg/war
task might have excluded it by mistake?


--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Only message-resources tag is
 
 message-resources
 parameter=ApplicationResources/
 
 -Original Message-
 From: Marsh-Bourdon, Christopher
 [mailto:[EMAIL PROTECTED] 
 Sent: June 23, 2005 10:01 AM
 To: 'Struts Users Mailing List'
 Subject: RE: ApplicationResources.properties vs
 Validator framework
 
 In that case does it contain (or path similar)
 within the
 struts-config.xml:
 
 message-resources

parameter=com.drkw.cpds.ratings2.webapplication.struts.ApplicationResou
 rces
  /
 
 Christopher Marsh-Bourdon
 www.marsh-bourdon.com
 
 
 -Original Message-
 From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] 
 Sent: 23 June 2005 14:58
 To: Struts Users Mailing List
 Subject: RE: ApplicationResources.properties vs
 Validator framework
 
 yes
 
 -Original Message-
 From: klute [mailto:[EMAIL PROTECTED]
 Sent: June 23, 2005 9:55 AM
 To: Struts Users Mailing List
 Subject: Re: ApplicationResources.properties vs
 Validator framework
 
 Does your web.xml contain the following as part of
 the action servlet
 config?
 
 init-param
   param-nameapplication/param-name
   param-valueApplicationResources/param-value
 /init-param
 
 
 --- Gilbert, Antoine [EMAIL PROTECTED] wrote:
 
  Hi
  
   
  
  I have a strange problem.
  
   
  
  I have an application using validator on server
 side and client side 
  (javascript), I have an
 ApplicationResources.properties with all my 
  messages for erreor messages from validations. All
 is working ok.
  
   
  
  But, I made a war file and deployed the
 application
  on another server,
  and all validations error messages are now empty.
  ApplicationResources.properties is there, and I
 have
  this line in my
  struts-config.xml :
  
   
  
  message-resources
  parameter=ApplicationResources/
  
   
  
  I activated logs via log4j, and I'm not getting
 any
  significant
  information except maybe this (I don't see him
 load
  ApplicationResources.properties) :
  
   
  
   
  
  DEBUG
 

[org.apache.struts.action.RequestProcessor][23-06-2005
  08:29:42]:
 

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js
 

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
  ative=false,module=null])
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: getMessage(fr_CA,errors.required)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr_CA)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource
  'resources/application_fr_CA.properties'
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource completed
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource
  'resources/application_fr.properties'
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource completed
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale()
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource
  'resources/application.properties'
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource completed
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: getMessage(fr_CA,errors.maxlength)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr_CA)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale()
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: getMessage(fr_CA,errors.maxlength)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr_CA)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale()
  
 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
All files are included

-Original Message-
From: klute [mailto:[EMAIL PROTECTED] 
Sent: June 23, 2005 10:11 AM
To: Struts Users Mailing List
Subject: RE: ApplicationResources.properties vs Validator framework

Just a sanity check, did you open up your war and
ensured that the ApplicationResources.properties is in
fact there in WEB-INF/classes? Perhaps, your pkg/war
task might have excluded it by mistake?


--- Gilbert, Antoine [EMAIL PROTECTED] wrote:

 Only message-resources tag is
 
 message-resources
 parameter=ApplicationResources/
 
 -Original Message-
 From: Marsh-Bourdon, Christopher
 [mailto:[EMAIL PROTECTED] 
 Sent: June 23, 2005 10:01 AM
 To: 'Struts Users Mailing List'
 Subject: RE: ApplicationResources.properties vs
 Validator framework
 
 In that case does it contain (or path similar)
 within the
 struts-config.xml:
 
 message-resources

parameter=com.drkw.cpds.ratings2.webapplication.struts.ApplicationResou
 rces
  /
 
 Christopher Marsh-Bourdon
 www.marsh-bourdon.com
 
 
 -Original Message-
 From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] 
 Sent: 23 June 2005 14:58
 To: Struts Users Mailing List
 Subject: RE: ApplicationResources.properties vs
 Validator framework
 
 yes
 
 -Original Message-
 From: klute [mailto:[EMAIL PROTECTED]
 Sent: June 23, 2005 9:55 AM
 To: Struts Users Mailing List
 Subject: Re: ApplicationResources.properties vs
 Validator framework
 
 Does your web.xml contain the following as part of
 the action servlet
 config?
 
 init-param
   param-nameapplication/param-name
   param-valueApplicationResources/param-value
 /init-param
 
 
 --- Gilbert, Antoine [EMAIL PROTECTED] wrote:
 
  Hi
  
   
  
  I have a strange problem.
  
   
  
  I have an application using validator on server
 side and client side 
  (javascript), I have an
 ApplicationResources.properties with all my 
  messages for erreor messages from validations. All
 is working ok.
  
   
  
  But, I made a war file and deployed the
 application
  on another server,
  and all validations error messages are now empty.
  ApplicationResources.properties is there, and I
 have
  this line in my
  struts-config.xml :
  
   
  
  message-resources
  parameter=ApplicationResources/
  
   
  
  I activated logs via log4j, and I'm not getting
 any
  significant
  information except maybe this (I don't see him
 load
  ApplicationResources.properties) :
  
   
  
   
  
  DEBUG
 

[org.apache.struts.action.RequestProcessor][23-06-2005
  08:29:42]:
 

processForwardConfig(ForwardConfig[name=default,path=/console/Contenu.js
 

p?contenu=/console/sections/EditMenuLocale.jsp,redirect=false,contextRel
  ative=false,module=null])
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: getMessage(fr_CA,errors.required)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr_CA)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource
  'resources/application_fr_CA.properties'
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource completed
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource
  'resources/application_fr.properties'
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource completed
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale()
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource
  'resources/application.properties'
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]:   Loading resource completed
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: getMessage(fr_CA,errors.maxlength)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr_CA)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale()
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: getMessage(fr_CA,errors.maxlength)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr_CA)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale(fr)
  
   DEBUG
 

[org.apache.struts.util.PropertyMessageResources][23-06-2005
  08:29:43]: loadLocale()
  
 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com