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.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php') 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