diff options
author | wei <> | 2006-06-17 01:55:05 +0000 |
---|---|---|
committer | wei <> | 2006-06-17 01:55:05 +0000 |
commit | b3ceed048bb533a00bbea542f7c12b49c8c83d9b (patch) | |
tree | 97962fc3cb6746ae404c4f1d0095834bbb0e1ac7 /tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page | |
parent | 6c0154fb4e292ad22667e618f598a37cc5f9d524 (diff) |
Update changes to active controls, add FT tests for active controls, add comments.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page b/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page new file mode 100644 index 00000000..468a524e --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ActivePanelTest.page @@ -0,0 +1,22 @@ +<com:TForm ID="form1"> + <h1>Active Panel replacement tests </h1> + <com:TCallback ID="callback1" OnCallback="callback1_requested" /> + <com:TActivePanel ID="panel1"> + <com:TPlaceHolder ID="content1" Visible="false"> + Something lalala <com:TButton ID="button1" Text="Button Text"/> + </com:TPlaceHolder> + </com:TActivePanel> + <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->ClientID %>") + }) + }) + </script> + <com:TJavascriptLogger /> +</com:TForm>
\ No newline at end of file |