Repository: wicket Updated Branches: refs/heads/WICKET-6498_deferred_javascript 9836d109d -> 9c070d0f7
Most tests are fixed Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/9c070d0f Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/9c070d0f Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/9c070d0f Branch: refs/heads/WICKET-6498_deferred_javascript Commit: 9c070d0f7098bd8afca51d4aa8da0b59ec637fa6 Parents: 9836d10 Author: Maxim Solodovnik <solomax...@gmail.com> Authored: Sat Jan 13 22:22:23 2018 +0700 Committer: Maxim Solodovnik <solomax...@gmail.com> Committed: Sat Jan 13 22:22:23 2018 +0700 ---------------------------------------------------------------------- .../java/org/apache/wicket/ComponentTest.java | 30 +++++++++++++------- .../apache/wicket/TestDetachPageAjaxResult.html | 12 +------- .../wicket/TestDetachPageExpectedResult.html | 22 +++++++------- .../ajax/AjaxBehaviorEnabled_expected.html | 24 ++++++++-------- .../AjaxHeaderContributionPage2_expected.html | 22 ++++++-------- .../AjaxHeaderContributionPage_expected.html | 22 ++++++-------- .../ajax/DomReadyOrderPage_ajax_expected.html | 12 +------- .../wicket/ajax/DomReadyOrderPage_expected.html | 24 ++++++++-------- .../form/AjaxFormSubmitTestPage_expected.html | 22 +++++++------- .../OnChangeAjaxBehaviorTestPage_expected.html | 24 ++++++++-------- .../ajaxLink/AjaxLinkPageExpectedResult.html | 22 +++++++------- .../AjaxLinkWithBorderPageExpectedResult.html | 22 +++++++------- .../html/ajaxLink/AjaxPage2_ExpectedResult.html | 22 +++++++------- .../SimpleTestPageExpectedResult-1.html | 12 +------- .../SimpleTestPageExpectedResult.html | 17 ++++------- .../html/basic/SimplePageExpectedResult_13.html | 24 ++++++++-------- .../panel/InlinePanelPageExpectedResult_7.html | 22 +++++++------- .../panel/InlinePanelPageExpectedResult_8.html | 22 +++++++------- 18 files changed, 169 insertions(+), 208 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ComponentTest.java ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ComponentTest.java b/wicket-core/src/test/java/org/apache/wicket/ComponentTest.java index d3c0dc2..5c6ab86 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ComponentTest.java +++ b/wicket-core/src/test/java/org/apache/wicket/ComponentTest.java @@ -113,6 +113,8 @@ public class ComponentTest extends WicketTestCase { Behavior statefulBehavior = new Behavior() { + private static final long serialVersionUID = 1L; + @Override public boolean getStatelessHint(Component component) { @@ -141,6 +143,8 @@ public class ComponentTest extends WicketTestCase // make the component such that it can call listener interface // methods no matter whether it is visible or enabled component = new WebComponent("someId") { + private static final long serialVersionUID = 1L; + @Override public boolean canCallListener() { @@ -155,15 +159,17 @@ public class ComponentTest extends WicketTestCase // do the same set of tests on a component that is stateful "by itself" // rather than from a behavior Link<Void> link = new Link<Void>("someId") { + private static final long serialVersionUID = 1L; + @Override public void onClick() { } }; - + // Links are stateful by default assertFalse(link.isStateless()); - + //make the link invisible link.setVisible(false); @@ -174,19 +180,20 @@ public class ComponentTest extends WicketTestCase // same for disabled link link.setVisible(true).setEnabled(false); assertTrue(link.isStateless()); - + // make the link such that it can call listener interface // methods no matter whether it is visible or enabled link = new Link<Void>("someId") { + private static final long serialVersionUID = 1L; - @Override - public boolean canCallListener() { - return true; - } + @Override + public boolean canCallListener() { + return true; + } - @Override - public void onClick() { - } + @Override + public void onClick() { + } }; link.setVisible(false); @@ -207,6 +214,8 @@ public class ComponentTest extends WicketTestCase WebComponent component = new WebComponent("someId") { + private static final long serialVersionUID = 1L; + @Override protected void onModelChanging() { @@ -248,6 +257,7 @@ public class ComponentTest extends WicketTestCase */ private static class FlagReserved5Component extends Component { + private static final long serialVersionUID = 1L; public FlagReserved5Component(final String id) { super(id); http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/TestDetachPageAjaxResult.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/TestDetachPageAjaxResult.html b/wicket-core/src/test/java/org/apache/wicket/TestDetachPageAjaxResult.html index 154a589..25799ce 100644 --- a/wicket-core/src/test/java/org/apache/wicket/TestDetachPageAjaxResult.html +++ b/wicket-core/src/test/java/org/apache/wicket/TestDetachPageAjaxResult.html @@ -1,14 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="comp1" ><![CDATA[<span wicket:id="comp" id="comp1">body</span>]]></component><header-contribution><![CDATA[<head xmlns:wicket="http://wicket.apache.org"><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]]]><![CDATA[>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.TestDetachPage?0-1.0-comp"; -/*]]]]><![CDATA[>*/ -</script> -</head>]]></header-contribution><evaluate><![CDATA[(function(){Wicket.Ajax.ajax({"u":"./org.apache.wicket.TestDetachPage?0-1.0-comp","c":"comp1","e":"click"});})();]]></evaluate></ajax-response> \ No newline at end of file +</head>]]></header-contribution><evaluate><![CDATA[(function(){Wicket.Ajax.ajax({"u":"./org.apache.wicket.TestDetachPage?0-1.0-comp","c":"comp1","e":"click"});})();(function(){Wicket.Ajax.DebugWindow.enabled=true;})();(function(){Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.TestDetachPage?0-1.0-comp";})();]]></evaluate></ajax-response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/TestDetachPageExpectedResult.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/TestDetachPageExpectedResult.html b/wicket-core/src/test/java/org/apache/wicket/TestDetachPageExpectedResult.html index 0bf6d01..eed2a8f 100644 --- a/wicket-core/src/test/java/org/apache/wicket/TestDetachPageExpectedResult.html +++ b/wicket-core/src/test/java/org/apache/wicket/TestDetachPageExpectedResult.html @@ -2,22 +2,22 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> +<script type="text/javascript" > /*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.TestDetachPage?0"; +(function() {var f = function() { +Wicket.Ajax.ajax({"u":"./org.apache.wicket.TestDetachPage?0-1.0-comp","c":"comp1","e":"click"});; +Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { -Wicket.Ajax.ajax({"u":"./org.apache.wicket.TestDetachPage?0-1.0-comp","c":"comp1","e":"click"});; -Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.TestDetachPage?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxBehaviorEnabled_expected.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxBehaviorEnabled_expected.html b/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxBehaviorEnabled_expected.html index 4c956f7..1f09390 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxBehaviorEnabled_expected.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxBehaviorEnabled_expected.html @@ -3,25 +3,25 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.AjaxBehaviorEnabledPage?0"; -/*]]>*/ -</script> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Insert title here</title> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { +(function() {var f = function() { Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.AjaxBehaviorEnabledPage?0-1.0-enabled","c":"enabled1","e":"click"});; Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); +/*]]>*/ +</script> +<script type="text/javascript" > +/*<![CDATA[*/ +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.AjaxBehaviorEnabledPage?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage2_expected.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage2_expected.html b/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage2_expected.html index 24c6f7f..1e83978 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage2_expected.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage2_expected.html @@ -8,32 +8,26 @@ <link href="../../test2"/> <script type="text/javascript" src="../../javascripturlB"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.AjaxHeaderContributionPage2?0"; -/*]]>*/ -</script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { +(function() {var f = function() { domReady();; domReadyB();; Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.AjaxHeaderContributionPage2?0-1.0-link","c":"link1","e":"click","pd":true});; Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "load", function(event) { +(function() {var f = function() { onLoad();; onLoadB();; -;}); +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.AjaxHeaderContributionPage2?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage_expected.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage_expected.html b/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage_expected.html index bb905f6..cc07af4 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage_expected.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/AjaxHeaderContributionPage_expected.html @@ -5,30 +5,24 @@ <script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.AjaxHeaderContributionPage?0"; -/*]]>*/ -</script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { +(function() {var f = function() { domReady();; Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.AjaxHeaderContributionPage?0-1.0-link","c":"link1","e":"click","pd":true});; Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "load", function(event) { +(function() {var f = function() { onLoad();; -;}); +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.AjaxHeaderContributionPage?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_ajax_expected.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_ajax_expected.html b/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_ajax_expected.html index b062812..288b70c 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_ajax_expected.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_ajax_expected.html @@ -1,14 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="test1" ><![CDATA[<a href="./org.apache.wicket.ajax.DomReadyOrderPage?0-1.-test" wicket:id="test" id="test1">Test</a>]]></component><header-contribution><![CDATA[<head xmlns:wicket="http://wicket.apache.org"><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]]]><![CDATA[>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.DomReadyOrderPage?0-1.0-test"; -/*]]]]><![CDATA[>*/ -</script> -</head>]]></header-contribution><evaluate><![CDATA[(function(){Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.DomReadyOrderPage?0-1.0-test","c":"test1","e":"click","pd":true});})();(function(){test1();})();(function(){test2();})();]]></evaluate></ajax-response> \ No newline at end of file +</head>]]></header-contribution><evaluate><![CDATA[(function(){Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.DomReadyOrderPage?0-1.0-test","c":"test1","e":"click","pd":true});})();(function(){test1();})();(function(){test2();})();(function(){Wicket.Ajax.DebugWindow.enabled=true;})();(function(){Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.DomReadyOrderPage?0-1.0-test";})();]]></evaluate></ajax-response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_expected.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_expected.html b/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_expected.html index 0f771cd..9cda89b 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_expected.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/DomReadyOrderPage_expected.html @@ -2,24 +2,24 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.DomReadyOrderPage?0"; -/*]]>*/ -</script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { +(function() {var f = function() { Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.DomReadyOrderPage?0-1.0-test","c":"test1","e":"click","pd":true});; test1();; test2();; Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); +/*]]>*/ +</script> +<script type="text/javascript" > +/*<![CDATA[*/ +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.DomReadyOrderPage?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html b/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html index 71ef678..5f80a0a 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/form/AjaxFormSubmitTestPage_expected.html @@ -2,22 +2,22 @@ <head><script type="text/javascript" src="./resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="./resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="./resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> +<script type="text/javascript" > /*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/page?0"; +(function() {var f = function() { +Wicket.Ajax.ajax({"u":"./page?0-1.0-form-submit","m":"POST","c":"submit2","f":"form1","sc":"p::submit","e":"click","pd":true});; +Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { -Wicket.Ajax.ajax({"u":"./page?0-1.0-form-submit","m":"POST","c":"submit2","f":"form1","sc":"p::submit","e":"click","pd":true});; -Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/page?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage_expected.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage_expected.html b/wicket-core/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage_expected.html index 745a77a..6cf3dad 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage_expected.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/form/OnChangeAjaxBehaviorTestPage_expected.html @@ -2,23 +2,23 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.form.OnChangeAjaxBehaviorTestPage?0"; -/*]]>*/ -</script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { +(function() {var f = function() { Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.form.OnChangeAjaxBehaviorTestPage?0-1.0-form-field","m":"POST","c":"field1","e":"inputchange change"});; Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.form.OnChangeAjaxBehaviorTestPage?0-1.0-form-dropDown","m":"POST","c":"dropDown2","e":"change"});; Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); +/*]]>*/ +</script> +<script type="text/javascript" > +/*<![CDATA[*/ +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.form.OnChangeAjaxBehaviorTestPage?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageExpectedResult.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageExpectedResult.html b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageExpectedResult.html index 67d2337..b011850 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageExpectedResult.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkPageExpectedResult.html @@ -2,22 +2,22 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> +<script type="text/javascript" > /*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.ajaxLink.AjaxLinkPage?0"; +(function() {var f = function() { +Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.ajaxLink.AjaxLinkPage?0-1.0-ajaxLink","c":"ajaxLink1","e":"click"});; +Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { -Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.ajaxLink.AjaxLinkPage?0-1.0-ajaxLink","c":"ajaxLink1","e":"click"});; -Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.ajaxLink.AjaxLinkPage?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkWithBorderPageExpectedResult.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkWithBorderPageExpectedResult.html b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkWithBorderPageExpectedResult.html index 072c3f9..1cf8851 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkWithBorderPageExpectedResult.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxLinkWithBorderPageExpectedResult.html @@ -2,22 +2,22 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> +<script type="text/javascript" > /*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.ajaxLink.AjaxLinkWithBorderPage?0"; +(function() {var f = function() { +Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.ajaxLink.AjaxLinkWithBorderPage?0-1.0-border-border_body-ajaxLink","c":"ajaxLink1","e":"click"});; +Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { -Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.ajaxLink.AjaxLinkWithBorderPage?0-1.0-border-border_body-ajaxLink","c":"ajaxLink1","e":"click"});; -Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.ajaxLink.AjaxLinkWithBorderPage?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxPage2_ExpectedResult.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxPage2_ExpectedResult.html b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxPage2_ExpectedResult.html index 0bed6b9..7151f58 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxPage2_ExpectedResult.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/ajaxLink/AjaxPage2_ExpectedResult.html @@ -2,22 +2,22 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> +<script type="text/javascript" > /*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.ajaxLink.AjaxPage2?0"; +(function() {var f = function() { +Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.ajaxLink.AjaxPage2?0-1.0-pageLayout-pageLayout_body-ajaxLink","c":"ajaxLink1","e":"click"});; +Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { -Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.ajaxLink.AjaxPage2?0-1.0-pageLayout-pageLayout_body-ajaxLink","c":"ajaxLink1","e":"click"});; -Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.ajaxLink.AjaxPage2?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult-1.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult-1.html b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult-1.html index 9a8f5f0..99006e5 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult-1.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult-1.html @@ -1,14 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="linja11" ><![CDATA[<span wicket:id="linja1" id="linja11">1</span>]]></component><header-contribution><![CDATA[<head xmlns:wicket="http://wicket.apache.org"><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]]]><![CDATA[>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0-1.0-testPanel-baseSpan-linja1"; -/*]]]]><![CDATA[>*/ -</script> -</head>]]></header-contribution><evaluate><![CDATA[(function(){Wicket.Timer.set('linja11', function(){Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0-1.0-testPanel-baseSpan-linja1","c":"linja11"});}, 2000);})();]]></evaluate></ajax-response> \ No newline at end of file +</head>]]></header-contribution><evaluate><![CDATA[(function(){Wicket.Timer.set('linja11', function(){Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0-1.0-testPanel-baseSpan-linja1","c":"linja11"});}, 2000);})();(function(){Wicket.Ajax.DebugWindow.enabled=true;})();(function(){Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0-1.0-testPanel-baseSpan-linja1";})();]]></evaluate></ajax-response> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult.html b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult.html index 0eae403..6bc9c89 100644 --- a/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult.html +++ b/wicket-core/src/test/java/org/apache/wicket/ajax/markup/html/componentMap/SimpleTestPageExpectedResult.html @@ -2,23 +2,16 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0"; -/*]]>*/ -</script> <title>ajax-test</title> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "load", function(event) { +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0";; Wicket.Timer.set('linja11', function(){Wicket.Ajax.ajax({"u":"./org.apache.wicket.ajax.markup.html.componentMap.SimpleTestPage?0-1.0-testPanel-baseSpan-linja1","c":"linja11"});}, 2000);; -;}); +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/markup/html/basic/SimplePageExpectedResult_13.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/markup/html/basic/SimplePageExpectedResult_13.html b/wicket-core/src/test/java/org/apache/wicket/markup/html/basic/SimplePageExpectedResult_13.html index 1ad6c34..5d4ff75 100644 --- a/wicket-core/src/test/java/org/apache/wicket/markup/html/basic/SimplePageExpectedResult_13.html +++ b/wicket-core/src/test/java/org/apache/wicket/markup/html/basic/SimplePageExpectedResult_13.html @@ -5,23 +5,23 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> -/*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.markup.html.basic.SimplePage_13?0"; -/*]]>*/ -</script> <link rel="stylesheet" type="text/css" href="../../BasePage.css" /> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { +(function() {var f = function() { Wicket.Ajax.ajax({"u":"./org.apache.wicket.markup.html.basic.SimplePage_13?0-1.0-html","c":"html1","e":"click"});; Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); +/*]]>*/ +</script> +<script type="text/javascript" > +/*<![CDATA[*/ +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.markup.html.basic.SimplePage_13?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_7.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_7.html b/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_7.html index c21fe6e..974b350 100644 --- a/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_7.html +++ b/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_7.html @@ -2,22 +2,22 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> +<script type="text/javascript" > /*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.markup.html.panel.InlinePanelPage_7?0"; +(function() {var f = function() { +Wicket.Ajax.ajax({"u":"./org.apache.wicket.markup.html.panel.InlinePanelPage_7?0-1.0-provider-ajaxRefresh","c":"ajaxRefresh1","e":"click"});; +Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { -Wicket.Ajax.ajax({"u":"./org.apache.wicket.markup.html.panel.InlinePanelPage_7?0-1.0-provider-ajaxRefresh","c":"ajaxRefresh1","e":"click"});; -Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.markup.html.panel.InlinePanelPage_7?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body> http://git-wip-us.apache.org/repos/asf/wicket/blob/9c070d0f/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_8.html ---------------------------------------------------------------------- diff --git a/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_8.html b/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_8.html index dd342eb..846c3c0 100644 --- a/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_8.html +++ b/wicket-core/src/test/java/org/apache/wicket/markup/html/panel/InlinePanelPageExpectedResult_8.html @@ -2,22 +2,22 @@ <head><script type="text/javascript" src="../resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-2.2.4.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery.js"></script> <script type="text/javascript" src="../resource/org.apache.wicket.ajax.AbstractDefaultAjaxBehavior/res/js/wicket-ajax-jquery-debug.js"></script> -<script type="text/javascript" id="wicket-ajax-debug-enable"> -/*<![CDATA[*/ -Wicket.Ajax.DebugWindow.enabled=true; -/*]]>*/ -</script> -<script type="text/javascript" id="wicket-ajax-base-url"> +<script type="text/javascript" > /*<![CDATA[*/ -Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.markup.html.panel.InlinePanelPage_8?0"; +(function() {var f = function() { +Wicket.Ajax.ajax({"u":"./org.apache.wicket.markup.html.panel.InlinePanelPage_8?0-1.0-add","c":"add1","e":"click"});; +Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); +;}; +if ('loading' !== document.readyState) f(); else document.addEventListener('DOMContentLoaded', f);})(); /*]]>*/ </script> <script type="text/javascript" > /*<![CDATA[*/ -Wicket.Event.add(window, "domready", function(event) { -Wicket.Ajax.ajax({"u":"./org.apache.wicket.markup.html.panel.InlinePanelPage_8?0-1.0-add","c":"add1","e":"click"});; -Wicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND); -;}); +(function() {var f = function() { +Wicket.Ajax.DebugWindow.enabled=true;; +Wicket.Ajax.baseUrl="wicket/bookmarkable/org.apache.wicket.markup.html.panel.InlinePanelPage_8?0";; +;}; +if ('complete' === document.readyState) f(); else window.addEventListener('load', f);})(); /*]]>*/ </script> </head><body>