struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Raible <matt_rai...@yahoo.com>
Subject RE: Multiple .properties files for messages
Date Tue, 06 Aug 2002 18:57:26 GMT
That's what I was looking for - thanks!

Matt

--- Brian DeLuca <bdeluca@intranet.com> wrote:
> 
> You need to set a key for one of those entries in the struts config.
> 
> <message-resources parameter="CustomResources" key="MY_RESOURCES"/>
> 
> Then when you want to use that resource props, you need to reference the
> bundle="MY_RESOURCES"
> 
> This is because you can only have one resource file with the key of
> Action.MESSAGE_KEY which is the default if key is not specified.
> 
> hth
> b-
> 
> -----Original Message-----
> From: Matt Raible [mailto:matt@raibledesigns.com]
> Sent: Tuesday, August 06, 2002 1:31 PM
> To: struts-dev@jakarta.apache.org
> Subject: Multiple .properties files for messages
> 
> 
> 
> Is it possible to have multiple .properties files for resources - i.e.
> 
>     <!-- ========== Message Resources Definitions
> =========================== -->
>     <message-resources parameter="ApplicationResources"/>
>     <message-resources parameter="CustomResources"/>
> 
> This doesn't seem to work...
> 
> Matt
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message