From 9e2820e98640f4ca262db7279a514826341df3e0 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 8 Oct 2006 05:11:23 +0000 Subject: Fixed #414, #411, #415 --- .../active-controls/protected/pages/RatingList.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/FunctionalTests/active-controls/protected/pages/RatingList.php') diff --git a/tests/FunctionalTests/active-controls/protected/pages/RatingList.php b/tests/FunctionalTests/active-controls/protected/pages/RatingList.php index c6661182..98b62e04 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/RatingList.php +++ b/tests/FunctionalTests/active-controls/protected/pages/RatingList.php @@ -3,6 +3,15 @@ class RatingList extends TPage { function list1_oncallback($sender, $param) + { + $newRating = ($sender->Rating + $sender->SelectedIndex+1)/2; + $sender->Rating = $newRating; + $sender->Caption = "Rating : ".$newRating; + $sender->Enabled=false; + } + + + function list2_oncallback($sender, $param) { } -- cgit v1.2.3