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. --- .../Web/UI/ActiveControls/TInPlaceTextBox.php | 24 ---------------------- 1 file changed, 24 deletions(-) (limited to 'framework/Web/UI/ActiveControls/TInPlaceTextBox.php') diff --git a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php index 16ffafb7..88db2d8f 100644 --- a/framework/Web/UI/ActiveControls/TInPlaceTextBox.php +++ b/framework/Web/UI/ActiveControls/TInPlaceTextBox.php @@ -149,21 +149,6 @@ class TInPlaceTextBox extends TActiveTextBox return 'span'; } - /** - * Adds attributes to renderer. - * @param THtmlWriter the renderer - * @throws TInvalidDataValueException if associated control cannot be found using the ID - */ - protected function addAttributesToRender($writer) - { - TWebControl::addAttributesToRender($writer); - $page=$this->getPage(); - $page->ensureRenderInForm($this); - $writer->addAttribute('id', $this->getLabelClientID()); - if(!$this->getReadOnly()) - $this->renderClientControlScript($writer); - } - /** * Renders the body content of the label. * @param THtmlWriter the writer for rendering @@ -240,15 +225,6 @@ class TInPlaceTextBox extends TActiveTextBox $this->raiseEvent('OnLoadingText',$this,$param); } - /** - * Registers the javascript code for initializing the active control. - */ - protected function renderClientControlScript($writer) - { - $this->getActiveControl()->registerCallbackClientScript( - $this->getClientClassName(), $this->getPostBackOptions()); - } - /** * @return string corresponding javascript class name for this TInPlaceTextBox */ -- cgit v1.2.3