summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket669.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket669.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket669.php36
1 files changed, 36 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket669.php b/tests/FunctionalTests/tickets/protected/pages/Ticket669.php
new file mode 100644
index 00000000..0131d95c
--- /dev/null
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket669.php
@@ -0,0 +1,36 @@
+<?php
+prado::using ('System.Web.UI.ActiveControls.*');
+class Ticket669 extends TPage
+{
+ public function load1($sender,$param)
+ {
+ $this->multiView->setActiveViewIndex(1);
+ $this->panel1->render($param->getNewWriter());
+ }
+ public function load2($sender,$param)
+ {
+ $this->multiView->setActiveViewIndex(2);
+ $this->panel1->render($param->getNewWriter());
+ }
+ public function test1($sender,$param)
+ {
+ $this->tb1->setText($this->tb1->getText().' +1');
+ $this->tb2->setText($this->tb2->getText().' +1');
+ $this->panel2->render($param->getNewWriter());
+ }
+ public function test2($sender,$param)
+ {
+ $this->tb3->setText($this->tb3->getText().' +1');
+ $this->tb4->setText($this->tb4->getText().' +1');
+ $this->tb5->setText($this->tb5->getText().' +1');
+ $this->panel4->render($param->getNewWriter());
+ }
+ public function test3($sender,$param)
+ {
+ $this->tb6->setText($this->tb6->getText().' +1');
+ $this->tb7->setText($this->tb7->getText().' +1');
+ $this->panel7->render($param->getNewWriter());
+ }
+}
+
+?> \ No newline at end of file