You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/02/06 16:38:08 UTC
[2/6] git commit: WICKET-4242 Detect new Markup Files in Development
Mode
WICKET-4242 Detect new Markup Files in Development Mode
Add a note that a non-caching IResourceStreamLocator should be used.
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/555ea17e
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/555ea17e
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/555ea17e
Branch: refs/heads/master
Commit: 555ea17e481d6ef2c7e75dd586cb272a2f497957
Parents: 22664fc
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon Feb 6 15:01:58 2012 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon Feb 6 15:01:58 2012 +0200
----------------------------------------------------------------------
.../java/org/apache/wicket/markup/MarkupCache.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/555ea17e/wicket-core/src/main/java/org/apache/wicket/markup/MarkupCache.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/MarkupCache.java b/wicket-core/src/main/java/org/apache/wicket/markup/MarkupCache.java
index 43e2fac..43a7cac 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/MarkupCache.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/MarkupCache.java
@@ -324,13 +324,14 @@ public class MarkupCache implements IMarkupCache
* <p>
* Subclasses may change the default implementation. E.g. they might choose not to update the
* cache to enforce reloading of any markup not found. This might be useful in very dynamic
- * environments.
+ * environments. Additionally a non-caching IResourceStreamLocator should be used.
*
* @param cacheKey
* @param container
* @param markup
* Markup.NO_MARKUP
* @return Same as parameter "markup"
+ * @see org.apache.wicket.settings.IResourceSettings#setResourceStreamLocator(org.apache.wicket.util.resource.locator.IResourceStreamLocator)
*/
protected Markup onMarkupNotFound(final String cacheKey, final MarkupContainer container,
final Markup markup)