summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket669.php
diff options
context:
space:
mode:
authortof <>2008-03-14 18:05:19 +0000
committertof <>2008-03-14 18:05:19 +0000
commitf2927a652e6e1afa8a22f472a4765dcc418d341e (patch)
tree9f8dc3d2ace29c538fe08e46b57139ca52439a00 /tests/FunctionalTests/tickets/protected/pages/Ticket669.php
parent3d8d3f7169814c33c1dc829ef61cb3281d8c146c (diff)
Added Testcase for #669
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