You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James Mitchell <jm...@telocity.com> on 2002/08/06 19:39:13 UTC
RE: Multiple .properties files for messages
This is a struts-user question.
I'll answer it over there.
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta
> -----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:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: Multiple .properties files for messages
Posted by James Mitchell <jm...@telocity.com>.
>From an email dated 5/22/2002:
----------------------------------------------------------------------
All I did to use multiple resource files was define them in struts-config:
<message-resources
parameter="com.tessco.partner.vscon.web.ApplicationResources"/>
<message-resources key="customerResources"
parameter="com.tessco.partner.vscon.web.CustomerResources" />
And identified them in the jsp by specifying the bundle:
<html:errors property="fname" bundle="customerResources" />
Mark Galbreath
----------------------------------------------------------------------
James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://www.open-tools.org/struts-atlanta
> -----Original Message-----
> From: James Mitchell [mailto:jmitchtx@telocity.com]
> Sent: Tuesday, August 06, 2002 1:39 PM
> To: Struts Developers List
> Cc: Struts Users Mailing List
> Subject: RE: Multiple .properties files for messages
>
>
> This is a struts-user question.
>
> I'll answer it over there.
>
> James Mitchell
> Software Engineer\Struts Evangelist
> Struts-Atlanta, the "Open Minded Developer Network"
> http://www.open-tools.org/struts-atlanta
>
>
>
>
> > -----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:
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> >
> >
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>