summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/RatingList.php
diff options
context:
space:
mode:
authorwei <>2006-10-01 03:09:18 +0000
committerwei <>2006-10-01 03:09:18 +0000
commit36f2ce766bde98c11d57b889fd9e1a7f8dff6010 (patch)
tree87c33c9e4447e20159932824b4de6167da495d49 /tests/FunctionalTests/active-controls/protected/pages/RatingList.php
parent1c32172efb18e8d08ea483e2460813670ebfe1a5 (diff)
Fixed #350 and #148, Add TActiveRatingList, should remove TRatingList from WebControls.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/RatingList.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/RatingList.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/RatingList.php b/tests/FunctionalTests/active-controls/protected/pages/RatingList.php
new file mode 100644
index 00000000..d31b6166
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/RatingList.php
@@ -0,0 +1,22 @@
+<?php
+
+class RatingList extends TPage
+{
+ function list1_oncallback($sender, $param)
+ {
+ $sender->Enabled=false;
+ }
+
+ function button1_clicked($sender, $param)
+ {
+ $this->list1->Enabled = true;
+ }
+
+ function button2_clicked($sender, $param)
+ {
+ $this->list1->SelectedIndex=3;
+ $this->list1->Enabled=false;
+ }
+}
+
+?> \ No newline at end of file