have u defined errors.header, errors.footer in your
ApplicationResources.properties

example
-------
errors.header=<span class="errorText">
errors.footer=</span>

you may have not defined these, that is the reason you are getting ??? in
place of header & footer.

CT.

-----Original Message-----
From: Barbara Post [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 June 2002 4:44 PM
To: [EMAIL PROTECTED]
Subject: Problem with ActionErrors and ApplicationResources.properties


Did not come thru so repost.... darn mail provider of mine ! ;-)


> Hello,
> 
> I am doing the following :
> 
> msg = msgResources.getMessage(new Locale("en",
> "US"),"errors.missing.field");
> 
> if I println this I get the correct value. It means it looks into
> ApplicationResources_en_US.properties and retrieves
> errors.missing.field=Mandatory field :
> 
> After execution of :
> errors.add("company", new ActionError(msg));
> 
> and on the jsp :
> 
> <html:errors property="company"/>
> 
> I get printed n my jsp :
> 
> ???fr_FR.Mandatory field :???
> 
> So I don't understand why it uses my default locale and adds question
> marks....
> 
> Any clue ? Thanks.
> 
> Barbara
> 
> 

 
____________________________________________________________________________
__
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif



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

Reply via email to