diff options
author | wei <> | 2006-08-11 05:05:32 +0000 |
---|---|---|
committer | wei <> | 2006-08-11 05:05:32 +0000 |
commit | b687748278d29510bb28875627c98b5da0a96cc5 (patch) | |
tree | 6d4f4b89027129530eae6d6aaf9c96c18b5ad8e2 /tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.page | |
parent | deb09283421970296b7ec6931d9eab3529be44ed (diff) |
Fixed callback replace content.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.page')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.page | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.page b/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.page new file mode 100644 index 00000000..b0c22587 --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ReplaceContentTest.page @@ -0,0 +1,22 @@ +<com:TForm>
+
+<h1>Callback Replace Content Test</h1>
+
+<com:TPanel ID="panel1" style="border:1px solid red; background-color: #ffc; padding:2em;">
+Main Panel
+ <com:TPanel ID="subpanel" style="border:1px solid blue; background-color: #fff; padding: 2em;">
+ Sub Panel
+ </com:TPanel>
+</com:TPanel>
+
+<com:TTextBox ID="content" />
+<com:TActiveButton id="btn_append" Text="Append to Sub Panel" OnCallback="appendContent"/>
+<com:TActiveButton id="btn_prepend" Text="Prepend to Sub Panel" OnCallback="prependContent" />
+<com:TActiveButton id="btn_before" Text="Insert Before Sub Panel" OnCallback="insertContentBefore"/>
+<com:TActiveButton id="btn_after" Text="Insert After Sub Panel" OnCallback="insertContentAfter"/>
+
+<com:TActiveButton id="btn_replace" Text="Replace" OnCallback="replaceContent"/>
+
+<com:TJavascriptLogger />
+
+</com:TForm>
\ No newline at end of file |