diff options
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php index b45fc740..88fbd760 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php @@ -7,9 +7,9 @@ class AutoCompleteTest extends TPage { public function suggestCountries($sender, $param) { - $sender->setDataSource($this->matchCountries($param->getCallbackParameter())); + $sender->setDataSource($this->matchCountries($param->Token)); $sender->dataBind(); - $this->label1->Text = "suggestion for ".$param->getCallbackParameter(); + $this->label1->Text = "suggestion for ".$param->Token; } public function callback_requested($sender, $param) @@ -34,6 +34,11 @@ class AutoCompleteTest extends TPage } return $list; } + + function suggestion_selected($sender, $param) + { + var_dump($param->selectedIndex); + } } ?>
\ No newline at end of file |