summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.php b/tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.php
new file mode 100644
index 00000000..a4a22cbf
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/NestedActiveControls.php
@@ -0,0 +1,19 @@
+<?php
+
+class NestedActiveControls extends TPage
+{
+ function callback1_requested($sender, $param)
+ {
+ $this->content1->visible = true;
+ $this->panel1->flush($param->output);
+ }
+
+ function button1_clicked($sender, $param)
+ {
+ $this->label1->Text = "Label 1: Button 1 Clicked";
+ $this->label2->Text = "Label 2: Button 1 Clicked";
+ $this->label3->Text = "Label 3: Button 1 Clicked";
+ }
+}
+
+?> \ No newline at end of file