Then is there a key="..." attribute in <html:*> tags?

 
  _____  

Thank You
 
Mick Knutson
 
Sr. Designer - Project Trust
aUBS AG, Financial - Zürich
Office: +41 (0)1/234.42.75
Internal: 48194
Mobile: 079.726.14.26
  _____  



-----Original Message-----
From: Jeff Kyser [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 2:23 PM
To: Struts Users Mailing List
Subject: Re: Question about message-resources


The first resource bundle loaded gets the 'default' key,
so to access resources from the second and subsequent bundles,
you have to supply a separate key name for them.

-jeff

On Tuesday, March 25, 2003, at 06:40  AM, [EMAIL PROTECTED] wrote:

> Appreciate the response, but I am wondering what the section in the 
> struts-config.xml is used for:
>
>
>   <!-- ========== Message Resources Definitions 
> =========================== -->
>
>   <message-resources  parameter="TrackerRes"/>
>   <message-resources  parameter="ISOCodeRes" key="ISOCodeRes"/>
>
>
>   <!-- ========== Plug Ins Configuration 
> ================================== -->
>
>   <plug-in className="com.fgm.web.menu.MenuPlugIn">
>     <set-property property="menuConfig" 
> value="/WEB-INF/menu-config.xml"/>
>   </plug-in>
> </struts-config>
>
>
> I have looked through the code in struts-menu, but can't seems to see 
> how the 2 message-resources are being used and to what extent they can 
> be used.
> Plus, what is the 'key="ISOCodeRes"' attribute on the message-resource?
>
>
>   _____
>
> Thank You
>
> Mick Knutson
>
> Sr. Designer - Project Trust
> aUBS AG, Financial - Zürich
> Office: +41 (0)1/234.42.75
> Internal: 48194
> Mobile: 079.726.14.26
>   _____
>
>
>
> -----Original Message-----
> From: Xavier Saint-Denis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 25, 2003 11:32 AM
> To: Struts Users Mailing List
> Subject: Re: Question about message-resources
>
>
> Hi,
>
> Regarding how to manage very long Message-resources property file, you 
> can
> use the following possibility :
>
> In your strust-config.xml add a :
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD 
> Struts
> Configuration 1.1//EN"
> "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";
> [
>   <!ENTITY action-users SYSTEM "action-mappings/backoffice/users.xml">
>   <!ENTITY action-entite SYSTEM 
> "action-mappings/backoffice/entite.xml">
>   <!ENTITY action-dynamicforms SYSTEM
> "action-mappings/backoffice/dynamicforms.xml">
>   <!ENTITY action-groupes SYSTEM 
> "action-mappings/backoffice/groupes.xml">
>   <!ENTITY action-activites SYSTEM
> "action-mappings/backoffice/activites.xml">
>    ]>
>
> And in the appropriate section of the  "Action Mapping Definitions" 
> use the
> &action-users;
> &action-entite;
> to refer to your files.
>
> And for each of your modules (here like users.xml or groupes.xml) you 
> have a
> property file.
> In that way it is more easily to manage the multi-lingual 
> fonctionnalitie.
>
> each of this file are placed under /WEB-INF/conf/action-mappings/.....
> Has this is a type of include, do not add XML header to this file.
>
> :-)
> Xav
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 25, 2003 9:25 AM
> Subject: Question about message-resources
>
>
> I am looking into struts-menu, and am confused about the extent I can 
> use
> message-resources.
> Like: (struts-config.xml)
>   <message-resources  parameter="TrackerRes"/>
>   <message-resources  parameter="ISOCodeRes" key="ISOCodeRes"/>
>
> I am creating a multi-lingual app, and am finding there are heaps of 
> entries
> in my ApplicationResources.properties already, and it is going to get 
> much
> worse as I have only done 2 pages and I have about 16 to go.
>
> So, can someone please explain what the above multiple 
> message-resources
> definition does, and how I might leverage splitting up some of my
> message-resources, to make these files more manageable?
>
> =========
> Thank You
>
> Mick Knutson
>
> Sr. Designer - Project Trust
> aUBS AG, Financial - Zürich
> Office: +41 (0)1/234.42.75
> Internal: 48194
> Mobile: 079.726.14.26
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> ---------------------------------------------------------------------
> 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]
>
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
>
> ---------------------------------------------------------------------
> 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]


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


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

Reply via email to