summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
diff options
context:
space:
mode:
authorwei <>2006-06-17 10:28:26 +0000
committerwei <>2006-06-17 10:28:26 +0000
commit3a30ede1c03fdd097398b14734822f7ce8e46b6b (patch)
tree516537f9872da97f25a2187cf1880df65804014c /tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
parent649082a9eb89991189fafce8432c4fd266fac027 (diff)
Update TAutoComplete, OnSuggest event for getting suggestions.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
index 938b8640..df314891 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
@@ -9,7 +9,13 @@ class AutoCompleteTest extends TPage
{
$sender->setDataSource($this->matchCountries($param->getParameter()));
$sender->dataBind();
- $sender->render($param->getOutput());
+ $sender->flush($param->getOutput());
+ $this->label1->Text = "suggestion for ".$param->getParameter();
+ }
+
+ public function callback_requested($sender, $param)
+ {
+ $this->label1->Text = "Label 1: ".$this->textbox3->Text;
}
protected function matchCountries($token)