Hm... just gave this a try. I have my properties file under 
WEB-INF/classes/..., changed it, hit the reload button and reloaded the page 
(in the Author instance, so no cache around). Nothing happened - which is the 
same behavior as the last time (quite some time ago) that we tried this. Having 
a closer look your post, Jan, I see that the problem most likely lies here: 
"...as long as you use message manager...". Well, we are using <fmt:message /> 
in the JSP templates. So this might be a stupid question, but: How to you 
properly use the message manager in JSP templates without the use of scriptlets?

Cheers,
-will

On 11.12.2009, at 10:11, Jan Haderka wrote:

> 
> 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]>
> ----------------------------------------------------------------
> 


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to