From f1f33db1f85c0893205a4a00c203d884dc1af1a5 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 10 Sep 2006 01:03:56 +0000 Subject: Changed TCallbackEventParameter::Parameter to TCallbackEventParameter::CallbackParameter Add TActiveButton and TActiveCheckBox quickstart docs. --- .../active-controls/protected/pages/AutoCompleteTest.php | 4 ++-- .../active-controls/protected/pages/ValueTriggerCallbackTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/FunctionalTests/active-controls/protected') diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php index 21f61abe..997e9bdd 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.php @@ -7,10 +7,10 @@ class AutoCompleteTest extends TPage { public function suggestCountries($sender, $param) { - $sender->setDataSource($this->matchCountries($param->getParameter())); + $sender->setDataSource($this->matchCountries($param->getCallbackParameter())); $sender->dataBind(); $sender->render($param->getNewWriter()); - $this->label1->Text = "suggestion for ".$param->getParameter(); + $this->label1->Text = "suggestion for ".$param->getCallbackParameter(); } public function callback_requested($sender, $param) diff --git a/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php b/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php index c3c44252..a8f83187 100644 --- a/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php +++ b/tests/FunctionalTests/active-controls/protected/pages/ValueTriggerCallbackTest.php @@ -4,7 +4,7 @@ class ValueTriggerCallbackTest extends TPage { function text1_changed($sender, $param) { - $values = $param->getParameter(); + $values = $param->getCallbackParameter(); $this->label1->Text = "Old = ".$values->OldValue." : New Value = ".$values->NewValue; } } -- cgit v1.2.3