struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <andrew.david.h...@gridnode.com>
Subject RE: Question about message-resources
Date Tue, 25 Mar 2003 15:14:26 GMT
AFAIK it stands for "As Far As I Know".

-----Original Message-----
From: Mick.Knutson@ubsw.com [mailto:Mick.Knutson@ubsw.com]
Sent: Tuesday, 25 March 2003 23:07
To: struts-user@jakarta.apache.org
Subject: RE: Question about message-resources


What is AFAIK?


  _____

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: COMPAGNON GUILLAUME [mailto:guillaume.compagnon@cdn.fr]
Sent: Tuesday, March 25, 2003 3:45 PM
To: 'Struts Users Mailing List'
Subject: RE: Question about message-resources


on bugzilla, the attachments have always AFAIK the name showattachement.
in our case, it's a jar file , you download it, and rename it into .jar


> -----Message d'origine-----
> De:	Mick.Knutson@ubsw.com [SMTP:Mick.Knutson@ubsw.com]
> Date:	mardi 25 mars 2003 15:38
> À:	struts-user@jakarta.apache.org
> Objet:	RE: Question about message-resources
>
> 1. I can't seem to donwload the patch. I kee getting promted to just
> download the download page instead. Could be my firewall, but is there
> somewhere else to get this file or could you email it to me?
>
> 2. What do I do with the file? Is is just a class that I add to my project
> EAR, or do I have to compile Struts to get this to work?
>
>
>   _____
>
> 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: COMPAGNON GUILLAUME [mailto:guillaume.compagnon@cdn.fr]
> Sent: Tuesday, March 25, 2003 3:18 PM
> To: 'Struts Users Mailing List'
> Subject: RE: Question about message-resources
>
>
> I ve published a patch to enhance MessageResources in order to register
> several MessageResources objets under the same ServletContext attribute
> key.
>
> have a look ...
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18194
>
> Guillaume Compagnon
> Linkvest
>
>
> > -----Message d'origine-----
> > De:	Mick.Knutson@ubsw.com [SMTP:Mick.Knutson@ubsw.com]
> > Date:	mardi 25 mars 2003 14:38
> > À:	struts-user@jakarta.apache.org
> > Objet:	RE: Question about message-resources
> >
> > That makes so much more sense to me than just having one resource file.
> > Would it make sense if I created 1 per page set? I have a set of pages;
> 1
> > is a view, and the other is the editable page.
> >
> > I plan to have around 15-20 total pages when complete with this app, but
> > it _must_ be multi-lingual, and it must be maintainable for around 5-7
> > languages.
> >
> >
> >   _____
> >
> > 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:ktrails@comcast.net]
> > Sent: Tuesday, March 25, 2003 2:33 PM
> > To: Struts Users Mailing List
> > Subject: Re: Question about message-resources
> >
> >
> > I use the following a lot:
> >
> > 	<html:errors property="foo" bundle="VALIDATOR_BUNDLE">
> >
> > where i've added
> >
> >      <message-resources
> > parameter="torch.webapp.panthers.ValidatorResources"
> >                         null="false"
> >                         key="VALIDATOR_BUNDLE">
> >      </message-resources>
> >
> > to my struts-config.xml file.
> >
> > -jeff
> >
> >
> > On Tuesday, March 25, 2003, at 07:27  AM, Mick.Knutson@ubsw.com wrote:
> >
> > > 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:ktrails@comcast.net]
> > > 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, Mick.Knutson@ubsw.com 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:stdenis2@free.fr]
> > >> 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: <Mick.Knutson@ubsw.com>
> > >> To: <struts-user@jakarta.apache.org>
> > >> 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: struts-user-unsubscribe@jakarta.apache.org
> > >> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >>
> > >>
> > >>
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > >> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >>
> > >>
> > >> 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: struts-user-unsubscribe@jakarta.apache.org
> > >> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> > >
> > > 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: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> > 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: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> ----------------------------------------------------
> Ce message et toutes les pièces jointes (ci-après le "message") sont
> confidentiels et établis à l'intention exclusive de ses destinataires.
> Toute utilisation ou diffusion non autorisée est interdite.Tout message
> électronique est susceptible d'altération.
> Le CREDIT DU NORD et ses filiales déclinent toute responsabilité au titre
> de ce message s'il a été altéré, déformé ou falsifié.
>
> This message and any attachments ( the "message") are confidential and
> intended solely for the addressees.
> Any unauthorised use or dissemination is prohibited.E-mails are
> susceptible to alteration.
> Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be
> liable for the message if altered, changed or falsified.
> ----------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
> 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: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org


----------------------------------------------------
Ce message et toutes les pièces jointes (ci-après le "message") sont
confidentiels et établis à l'intention exclusive de ses destinataires.
Toute utilisation ou diffusion non autorisée est interdite.Tout message
électronique est susceptible d'altération.
Le CREDIT DU NORD et ses filiales déclinent toute responsabilité au titre de
ce message s'il a été altéré, déformé ou falsifié.

This message and any attachments ( the "message") are confidential and
intended solely for the addressees.
Any unauthorised use or dissemination is prohibited.E-mails are susceptible
to alteration.
Neither CREDIT DU NORD nor any of its subsidiaries or affiliates shall be
liable for the message if altered, changed or falsified.
----------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message