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 2014/01/09 14:04:03 UTC

[17/50] [abbrv] git commit: WICKET-5415 Do not initialize pages which were not rendered

WICKET-5415 Do not initialize pages which were not rendered

Initialize the page for modal window because otherwise it ends with "Page expired" exception

(cherry picked from commit f36fa2002bd0ef6f1b304d820efa72b2dfa36db8)


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/ff9d0b4c
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/ff9d0b4c
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/ff9d0b4c

Branch: refs/heads/sandbox/WICKET-4686
Commit: ff9d0b4ccfdfa59e6f9c555103a413e00ea5c8db
Parents: 637690f
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Dec 18 10:22:05 2013 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Dec 18 10:23:00 2013 +0200

----------------------------------------------------------------------
 .../wicket/extensions/ajax/markup/html/modal/ModalWindow.java       | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/ff9d0b4c/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.java
----------------------------------------------------------------------
diff --git a/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.java b/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.java
index 8b9c970..2851eaf 100644
--- a/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.java
+++ b/wicket-extensions/src/main/java/org/apache/wicket/extensions/ajax/markup/html/modal/ModalWindow.java
@@ -1084,6 +1084,7 @@ public class ModalWindow extends Panel
 			CharSequence pageUrl;
 			RequestCycle requestCycle = RequestCycle.get();
 
+			page.internalInitialize();
 			if (page.isPageStateless())
 			{
 				pageUrl = requestCycle.urlFor(page.getClass(), page.getPageParameters());