From 47d05516b1d1c465217c59732bf8442ab0cfd497 Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 5 May 2006 06:58:04 +0000 Subject: Added prioritize callback and enabled viewstate update on callback return. --- .../protected/pages/ActiveControls/ActiveControl.page | 16 +++++++++++++--- .../protected/pages/ActiveControls/ActiveControl.php | 3 ++- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'tests/FunctionalTests/features/protected') diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page index 2d43bb82..b33e9000 100644 --- a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page +++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.page @@ -2,6 +2,11 @@

TCallback Demo

+ + @@ -12,9 +17,8 @@ - - - + + \ No newline at end of file diff --git a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php index 8323667a..e9a6226a 100644 --- a/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php +++ b/tests/FunctionalTests/features/protected/pages/ActiveControls/ActiveControl.php @@ -7,7 +7,8 @@ class ActiveControl extends TPage { public function control1onCallback($sender, $param) { - $this->label1->setText("The time is ".time()); + sleep(5); + $this->label1->setText("The time is ".time()." from ".$sender->ID); } } ?> -- cgit v1.2.3