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 [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' --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------- ATTENTION: The information in this electronic mail message is private and confidential, and only intended for the addressee. Should you receive this message by mistake, you are hereby notified that any disclosure, reproduction, distribution or use of this message is strictly prohibited. Please inform the sender by reply transmission and delete the message without copying or opening it. Messages and attachments are scanned for all viruses known. If this message contains password-protected attachments, the files have NOT been scanned for viruses by the ING mail domain. Always scan attachments before opening them. ----------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]