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:22 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 [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'








******************************************************************************************************************* This email and any file transmitted with it may be confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please notify the DBM Service Desk by forwarding this message to [EMAIL PROTECTED]


This email has been scanned by networkMaryland Antivirus Service for the presence of computer viruses.






******************************************************************************************************************** This email and any file transmitted with it may be confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you received this email in error please notify the DBM Service Desk by forwarding this message to [EMAIL PROTECTED]


This email has been scanned by networkMaryland Antivirus Service for the presence of computer viruses.


---------------------------------------------------------------------
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]


        

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

Reply via email to