Extracting MessageResources from Struts

2006-04-24 Thread Julian Tillmann
Hi everyone, 

this question is not entirely a question about struts but just about a part
of it, which I would like to extract 
from the rest of the framework. It's like this: 
I have my own framework for creating dynamic SVGs and in one Class I
have tooltip-messages hardcoded in German. I don't want to destroy the
structure of the method-calls
and so I thought about Struts 
MessageResources where I can use different language packages in form
of property files. So far so good, 
but I don't want to add the whole struts to my framework but just the
MessageRessources-part and so my question is:
can I just extract the MessageResources.class or is there substitution
I can use for this? 

thanks very much in advance
Julian

-- 
Echte DSL-Flatrate dauerhaft für 0,- Euro*!
Feel free mit GMX DSL! http://www.gmx.net/de/go/dsl

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



Re: Extracting MessageResources from Struts

2006-04-24 Thread David Delbecq
Using message ressources is not struts specific. What struts does beside
using message ressources is maintaining the user language in user http
session and use it when it need a message ressouce use. If all you need
to do is have multi language support for your messages, i suggest you
take a look at how ressource bundles are used for i18n in the sun java
documentations http://java.sun.com/docs/books/tutorial/i18n/index.html

Please note basically the MessageResources is a front end to this
allowing configuration of ressources in struts xml configuration file.

Julian Tillmann a écrit :

Hi everyone, 

this question is not entirely a question about struts but just about a part
of it, which I would like to extract 
from the rest of the framework. It's like this: 
I have my own framework for creating dynamic SVGs and in one Class I
have tooltip-messages hardcoded in German. I don't want to destroy the
structure of the method-calls
and so I thought about Struts 
MessageResources where I can use different language packages in form
of property files. So far so good, 
but I don't want to add the whole struts to my framework but just the
MessageRessources-part and so my question is:
can I just extract the MessageResources.class or is there substitution
I can use for this? 

thanks very much in advance
Julian

  



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



Re: Extracting MessageResources from Struts

2006-04-24 Thread Julian Tillmann
hi, 

thank you very much your answer has been very helpful :)

ciao 4 now 
Julian

 --- Ursprüngliche Nachricht ---
 Von: David Delbecq [EMAIL PROTECTED]
 An: Struts Users Mailing List user@struts.apache.org
 Betreff: Re: Extracting MessageResources from Struts
 Datum: Mon, 24 Apr 2006 13:37:45 +0200
 
 Using message ressources is not struts specific. What struts does beside
 using message ressources is maintaining the user language in user http
 session and use it when it need a message ressouce use. If all you need
 to do is have multi language support for your messages, i suggest you
 take a look at how ressource bundles are used for i18n in the sun java
 documentations http://java.sun.com/docs/books/tutorial/i18n/index.html
 
 Please note basically the MessageResources is a front end to this
 allowing configuration of ressources in struts xml configuration file.
 
 Julian Tillmann a écrit :
 
 Hi everyone, 
 
 this question is not entirely a question about struts but just about a
 part
 of it, which I would like to extract 
 from the rest of the framework. It's like this: 
 I have my own framework for creating dynamic SVGs and in one Class I
 have tooltip-messages hardcoded in German. I don't want to destroy the
 structure of the method-calls
 and so I thought about Struts 
 MessageResources where I can use different language packages in form
 of property files. So far so good, 
 but I don't want to add the whole struts to my framework but just the
 MessageRessources-part and so my question is:
 can I just extract the MessageResources.class or is there substitution
 I can use for this? 
 
 thanks very much in advance
 Julian
 
   
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

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