Bugs item #1418436, was opened at 2006-01-30 11:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1418436&group_id=119783
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Arto Arffman (artoarffman)
Assigned to: Nobody/Anonymous (nobody)
Summary: PropertiesFactory does not clear cache
Initial Comment:
When you change localization properties, it is not
reflected in the app (when resource reloading is on,
of course).
I modified onChange listener to clear cache and
reloading started to work.
The diff below:
Index: PropertiesFactory.java
======================================================
=============
RCS
file: /cvsroot/wicket/wicket/src/java/wicket/resource/
PropertiesFactory.java,v
retrieving revision 1.7
diff -u -r1.7 PropertiesFactory.java
--- PropertiesFactory.java 25 Jan 2006 16:18:39 -
0000 1.7
+++ PropertiesFactory.java 30 Jan 2006 09:36:01 -
0000
@@ -269,6 +269,7 @@
public void onChange()
{
log.info
("Reloading properties files from " + resourceStream);
+ clearCache();
loadPropertiesFile(key, resourceStream,
componentClass, style, locale);
// Inform all
listeners
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1418436&group_id=119783
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop