summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls
diff options
context:
space:
mode:
authorwei <>2007-03-31 06:24:07 +0000
committerwei <>2007-03-31 06:24:07 +0000
commite54507780bbb25537735139fdf65637fbaa39542 (patch)
tree516c7b2a3e5018770022916365e9bcbd01240c7e /tests/FunctionalTests/active-controls
parent31e2a6844f46941be1c05ff14fff25032d1fda93 (diff)
Fixed http://www.pradosoft.com/forum/index.php/topic,7089.0/topicseen.html
Diffstat (limited to 'tests/FunctionalTests/active-controls')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.page2
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveDropDownList.php6
2 files changed, 8 insertions, 0 deletions
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 @@
<com:TActiveButton ID="button2" Text="Clear selection" OnClick="clear_selections" />
<com:TActiveButton ID="button3" Text="Select Value 'value 2'" OnClick="select_value_2" />
<com:TActiveButton ID="button4" Text="Select Item 3 And Sub Item 3" OnClick="select_index_3_plus" />
+
+ <com:TButton ID="button5" Text="Post Back" OnClick="do_postback"/>
</div>
<com:TJavascriptLogger />
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