summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
diff options
context:
space:
mode:
authorwei <>2006-08-27 04:18:31 +0000
committerwei <>2006-08-27 04:18:31 +0000
commit887da1b3668499821f046665b461aeadb0a9fb2e (patch)
tree776f742ea179c823c90e7b81d2262a4344610eca /tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
parent1180e6486139a9c9662984367c4f624394e06f35 (diff)
Adding TActiveImage and TActiveImageButton
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
index df314891..21f61abe 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php
@@ -9,15 +9,15 @@ class AutoCompleteTest extends TPage
{
$sender->setDataSource($this->matchCountries($param->getParameter()));
$sender->dataBind();
- $sender->flush($param->getOutput());
+ $sender->render($param->getNewWriter());
$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)
{
$info = Prado::createComponent('System.I18N.core.CultureInfo', 'en');
@@ -31,9 +31,9 @@ class AutoCompleteTest extends TPage
$list[] = $country;
$count++;
if($count > 10) break;
- }
+ }
}
- return $list;
+ return $list;
}
}