This ends up calling MessageManager.reload() (or more precisely DefaultMessageManager.reload() unless you have changed your configuration). So as long as you use message manager to obtain your messages you can use this functionality as well. What happens in the end is that the resource bundles are lazily reloaded from the classpath so if your resource bundle was say in WEB-INF/classes and you updated it and clicked the reload it should be picked up. If you loaded it from the jar file, then I'm afraid you would have to rebuild the jar ... this depends on app server you use and how it scans and update the classpath at runtime.
HTH, Jan On Wed, 2009-12-09 at 14:55 +0100, Hay (Husky) wrote: > Hi everyone, > in Tools -> Development tools there's an option to reload the i18n > properties files. I'm wondering if there is any way to use this > function for my own properties files in my own module without having > to rebuild the complete module. Is there a certain path convention i > can use to accomplish this? > > Kinds regards, > -- Hay Kranen > Developer VPRO Netherlands > > ---------------------------------------------------------------- > For list details see > http://www.magnolia-cms.com/home/community/mailing-lists.html > To unsubscribe, E-mail to: <[email protected]> > ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
