git://wamblee.org
/
utils
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
729571f
)
(no commit message)
author
Erik Brakkee
<erik@brakkee.org>
Sat, 24 Jul 2010 17:18:46 +0000
(17:18 +0000)
committer
Erik Brakkee
<erik@brakkee.org>
Sat, 24 Jul 2010 17:18:46 +0000
(17:18 +0000)
wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java
patch
|
blob
|
history
wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java
patch
|
blob
|
history
diff --git
a/wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java
b/wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java
index d6ff4d0f619b1e40b409a6e6243a97db4427860e..18956a6e0e617fbac6ed04e0a88933fabbb2675f 100644
(file)
--- a/
wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java
+++ b/
wicket/components/src/main/java/org/wamblee/wicket/behavior/DisableCachingBehavior.java
@@
-38,7
+38,6
@@
public class DisableCachingBehavior extends ExpirePageImmediatelyBehavior {
@Override
public void setHeaders(WebPage aPage, WebResponse aResponse) {
- System.out.println("Disabling caching for " + aPage.getClass().getName());
aResponse.setHeader("Pragma", "no-cache");
aResponse.setHeader("Cache-Control",
"no-cache, max-age=0, must-revalidate, no-store");
diff --git
a/wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java
b/wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java
index 0644375e323e233a59e37b4479dd01cb317cdba1..16e1c9bd2b2afd8bc587402500651db308838f23 100644
(file)
--- a/
wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java
+++ b/
wicket/components/src/main/java/org/wamblee/wicket/behavior/ExpirePageImmediatelyBehavior.java
@@
-28,7
+28,6
@@
public class ExpirePageImmediatelyBehavior extends AbstractPageBehavior {
@Override
public void onAfterRender(WebPage aPage) {
- System.out.println("Removing page " + aPage.getClass() + " from the pagemap");
aPage.getPageMap().remove(aPage);
}