From f21d3433721308f5d0693f44bbfed56f7b2ecc2d Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 5 May 2006 00:45:35 +0000 Subject: Adding TActiveLabel --- .../features/protected/pages/ActiveControls/ActiveControl.page | 10 +++------- .../features/protected/pages/ActiveControls/ActiveControl.php | 4 +--- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'tests/FunctionalTests/features/protected/pages') diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page index 87522f72..2d43bb82 100644 --- a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page +++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page @@ -2,9 +2,9 @@

TCallback Demo

- - + OnCallback="control1onCallback" /> + + @@ -12,10 +12,6 @@ - - asdad - - diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php index 43d93d30..8323667a 100644 --- a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php +++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php @@ -7,9 +7,7 @@ class ActiveControl extends TPage { public function control1onCallback($sender, $param) { - $this->button2->setVisible(true); - $this->button2->setText("Time is ".time()); - $this->control1->render($param->getOutput()); + $this->label1->setText("The time is ".time()); } } ?> -- cgit v1.2.3