From e54507780bbb25537735139fdf65637fbaa39542 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 31 Mar 2007 06:24:07 +0000 Subject: Fixed http://www.pradosoft.com/forum/index.php/topic,7089.0/topicseen.html --- .../active-controls/protected/pages/ActiveDropDownList.page | 2 ++ .../active-controls/protected/pages/ActiveDropDownList.php | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'tests/FunctionalTests') diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.page b/tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.page index 49b18520..7ac7ea86 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.page +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.page @@ -20,6 +20,8 @@ + + diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.php index 10541885..83480a0c 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.php +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.php @@ -41,6 +41,12 @@ class ActiveDropDownList extends TPage $this->list1_changed($this->list1); $this->list2->setSelectedValue("value 3 - item 3"); } + + function do_postback() + { + $value = 'List 1: '.$this->list1->selectedValue. ', List 2: '. $this->list2->selectedValue; + $this->label1->Text = $value; + } } ?> \ No newline at end of file -- cgit v1.2.3