summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveControlWithTinyMce.page11
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveControlWithTinyMce.php11
2 files changed, 22 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveControlWithTinyMce.page b/tests/FunctionalTests/active-controls/protected/pages/ActiveControlWithTinyMce.page
new file mode 100644
index 00000000..aa3be754
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveControlWithTinyMce.page
@@ -0,0 +1,11 @@
+<com:TForm>
+<h1>Active Control with TinyMCE</h1>
+
+<com:THtmlArea ID="text1" />
+
+<com:TActiveButton ID="button1" Text="Save" OnCallback="button1_callback" />
+
+<com:TActiveLabel ID="label1" />
+
+<com:TJavascriptLogger />
+</com:TForm> \ No newline at end of file
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveControlWithTinyMce.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveControlWithTinyMce.php
new file mode 100644
index 00000000..a154e0dd
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveControlWithTinyMce.php
@@ -0,0 +1,11 @@
+<?php
+
+class ActiveControlWithTinyMce extends TPage
+{
+ function button1_callback($sender, $param)
+ {
+ $this->label1->Text = $this->text1->SafeText;
+ }
+}
+
+?> \ No newline at end of file