From 4f968c045e0d09ab3e4f659743effb5305a963ce Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 30 Mar 2007 05:04:30 +0000 Subject: Fixed #507 and update other active controls. --- framework/Web/UI/ActiveControls/TActiveRadioButtonList.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'framework/Web/UI/ActiveControls/TActiveRadioButtonList.php') diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php index 6e3fef6f..52a4b036 100644 --- a/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php +++ b/framework/Web/UI/ActiveControls/TActiveRadioButtonList.php @@ -60,20 +60,11 @@ class TActiveRadioButtonList extends TRadioButtonList implements IActiveControl, } /** - * @return string javascript client-side control class name. - */ - protected function getClientClassName() - { - return 'Prado.WebUI.TActiveRadioButtonList'; - } - - /** - * Registers the javascript code for initializing the active control. + * Override parent implementation, no javascript is rendered here instead + * the javascript required for active control is registered in {@link addAttributesToRender}. */ protected function renderClientControlScript($writer) { - $this->getActiveControl()->registerCallbackClientScript( - $this->getClientClassName(), $this->getPostBackOptions()); } /** @@ -95,7 +86,6 @@ class TActiveRadioButtonList extends TRadioButtonList implements IActiveControl, */ public function raiseCallbackEvent($param) { - var_dump($_POST); $this->onCallback($param); } -- cgit v1.2.3