summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-01-26 04:07:51 +0000
committerxue <>2006-01-26 04:07:51 +0000
commitbdcb390dce02496f807743afff2c0e1a4e632aff (patch)
tree7b04af0b273bea1e3d89374ecb2dde26feaef922
parent5081f7a12bb78b2efabf423fdf940927f7b7c908 (diff)
Added TDropDownList FT.
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page2
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php2
-rw-r--r--tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php1
3 files changed, 2 insertions, 3 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page
index ed3c07a3..90dc4a3c 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.page
@@ -92,8 +92,6 @@ Dropdown list's behavior upon postback:
<h2>DropDown Lists with DataBinding</h2>
-<i>Use Ctrl + Mouse Click to change selection</i>
-<br/>
<table class="sampletable">
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php
index c220d697..133a797a 100644
--- a/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php
+++ b/demos/quickstart/protected/pages/Controls/Samples/TDropDownList/Home.php
@@ -32,7 +32,7 @@ class Home extends TPage
foreach($indices as $index)
{
$item=$input->Items[$index];
- $result.="(Index: $index, Value: $item->Value, Text: $item->Text)\n";
+ $result.="(Index: $index, Value: $item->Value, Text: $item->Text)";
}
if($result==='')
$output->Text='Your selection is empty.';
diff --git a/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php b/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php
index 359afb41..e91ecd9e 100644
--- a/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php
+++ b/tests/FunctionalTests/quickstart_tests/Controls/ListBoxTestCase.php
@@ -73,6 +73,7 @@ class ListBoxTestCase extends SeleniumTestCase
// List box causing validation
$this->verifyNotVisible('ctl0_body_ctl12');
$this->select("ctl0\$body\$VListBox2", "label=Agree");
+ $this->pause(1000);
$this->verifyVisible('ctl0_body_ctl12');
$this->type("ctl0\$body\$TextBox", "test");
$this->selectAndWait("ctl0\$body\$VListBox2", "label=Disagree");