I haven't tried it myself, but there is an implementation of this in the
commons-sandbox (resources).  There are plans to integrate it into Struts by
1.2.

  http://jakarta.apache.org/commons/sandbox/resources/index.html


I'm not sure how flexible the xml layout can be.
Let me know if this fits your needs and/or need help integrating into your
project.


--
James Mitchell





----- Original Message -----
From: "Heligon Sandra" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 3:47 AM
Subject: RE: How replace the struts-resources.properties file by a
resources.xml file ?


> My Struts Web Application is small part of a big project and
> the choice for this project is to use XML file.
> All application of the project must have a config directory with
> a file resources.xml that contains errors, warning messages and label for
> GUI applications.
> For my application all these Strings are in the resources.properties
> file but to be conform to the global project I would like to use XML file.
>
>
> -----------------------------------------------------------
> As of February 12, 2003 Thomson unifies its email addresses on a worldwide
> basis.Please note my new email address: [EMAIL PROTECTED]
>
> Thomson is the leader in solutions and technologies for the entertainment
> and media industries and serves its customers under its four strategic
> brands: Technicolor, Grass Valley, RCA and THOMSON.
> More about Thomson: http://www.thomson.net/videochain
>
> ----Original Message-----
> From: Daniel Joshua [mailto:[EMAIL PROTECTED]]
> Sent: 14 February 2003 09:37
> To: 'Struts Users Mailing List'
> Subject: RE: How replace the struts-resources.properties file by a
> resources.xml file ?
>
>
> Could you explain why would you want an XML file instead of a property
file?
>
> Wouldn't that be slower and take more memory?
>
> Regards,
> Daniel
>
>
> -----Original Message-----
> From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 14, 2003 4:20 PM
> To: '[EMAIL PROTECTED]'
> Subject: How replace the struts-resources.properties file by a
> resources.xml file ?
> Importance: High
>
>
>
> I would like to place my resources (errors, warning, label) in a XML
> file and not in a .properties file,
> is it possible ?
> How can I do ? If someone has a such example thanks to send it me.
> Do I have to override a class ?  what must I write in the
> struts-config.xmf
> file for the tag <message-resources> ?
>
> Sandra
>
> -----------------------------------------------------------
> As of February 12, 2003 Thomson unifies its email addresses on a worldwide
> basis.Please note my new email address: [EMAIL PROTECTED]
>
> Thomson is the leader in solutions and technologies for the entertainment
> and media industries and serves its customers under its four strategic
> brands: Technicolor, Grass Valley, RCA and THOMSON.
> More about Thomson: http://www.thomson.net/videochain
>
>
> ---------------------------------------------------------------------
> 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]
>
> ---------------------------------------------------------------------
> 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]

Reply via email to