summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page
diff options
context:
space:
mode:
authorwei <>2006-09-16 01:09:33 +0000
committerwei <>2006-09-16 01:09:33 +0000
commit6bc7f2812ec16d5b46e2b75b1ae5172f7f778bcf (patch)
tree21bd449d8ce1bb01c2a57999316d0aa82a0ab805 /tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page
parentb196ea0e2e9ab9078022e88326edecf1ba5b2f9f (diff)
Test for ticket #364
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page b/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page
new file mode 100644
index 00000000..6dd58d48
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/PostLoadingTest.page
@@ -0,0 +1,24 @@
+<com:TForm>
+
+ <h1>PostLoading Test</h1>
+ <com:TCallback ID="callback1" OnCallback="Page.callback1_requested" />
+
+ <com:TActivePanel ID="panel1" />
+
+ <div id="div1" style="border:1px solid #666; background-color: #ffe; text-align: center; padding:3em">
+ Click Me!
+ </div>
+
+ <script type="text/javascript">
+ Event.OnLoad(function()
+ {
+ Event.observe($("div1"), "click", function()
+ {
+ Prado.Callback("<%= $this->callback1->UniqueID %>")
+ })
+ })
+ </script>
+
+ <com:TJavascriptLogger />
+
+</com:TForm> \ No newline at end of file