i18n, global resource bundles
neuro <[email protected]> Wed, 21 Jan 2004 15:05:41 +0200
| Newsgroups | gmane.comp.java.open-symphony.devel |
|---|---|
| Organization | SDD |
| Message-ID | <[email protected]> |
Hello opensymphony-developers,
I see
LocalizedTextUtil.addDefaultResourceBundle("com/opensymphony/webwork/webwork-messages");
in
com.opensymphony.webwork.dispatcher.ServletDispatcher.init(...)
Is there some option (in webwork.properties or (better) in xwork configs)
to add such bundles? If (as I see) there's no such option, may be it should
be added?
I think adding new webwork.property is really simple -
just introduce new setrting, and add StringTokenizer-driven loop
to
com.opensymphony.webwork.dispatcher.ServletDispatcher.init(...)
with
LocalizedTextUtil.addDefaultResourceBundle(bundleName);
inside.
//regards, neuro
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn