From 9f2905f5e2a6d0ab33e4e2d82162183cfd63a042 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 13 Sep 2006 23:33:41 +0000 Subject: Fixed #376 --- framework/Web/UI/ActiveControls/TActiveCustomValidator.php | 2 +- framework/Web/UI/ActiveControls/TActivePageAdapter.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'framework/Web/UI/ActiveControls') diff --git a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php index 80e594e2..686149eb 100644 --- a/framework/Web/UI/ActiveControls/TActiveCustomValidator.php +++ b/framework/Web/UI/ActiveControls/TActiveCustomValidator.php @@ -86,7 +86,7 @@ class TActiveCustomValidator extends TCustomValidator { $this->_isCallback = true; $result = $this->onServerValidate($param->getCallbackParameter()); - $param->setData($result); + $param->setResponseData($result); $this->onCallback($param); } diff --git a/framework/Web/UI/ActiveControls/TActivePageAdapter.php b/framework/Web/UI/ActiveControls/TActivePageAdapter.php index 9274ddb7..3b386902 100644 --- a/framework/Web/UI/ActiveControls/TActivePageAdapter.php +++ b/framework/Web/UI/ActiveControls/TActivePageAdapter.php @@ -299,7 +299,7 @@ class TCallbackEventParameter extends TEventParameter /** * @param mixed callback response data. */ - public function setResponesData($value) + public function setResponseData($value) { $this->_response->getAdapter()->setResponseData($value); } @@ -307,7 +307,7 @@ class TCallbackEventParameter extends TEventParameter /** * @return mixed callback response data. */ - public function getResponesData() + public function getResponseData() { return $this->_response->getAdapter()->getResponseData(); } -- cgit v1.2.3