summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TInPlaceTextBox.php
diff options
context:
space:
mode:
authorwei <>2007-03-30 05:04:30 +0000
committerwei <>2007-03-30 05:04:30 +0000
commit4f968c045e0d09ab3e4f659743effb5305a963ce (patch)
tree58d5cb87db43ba87c0a559d411e9d36aa0bd7f3c /framework/Web/UI/ActiveControls/TInPlaceTextBox.php
parent70744a98444df0583d76f19d4e399a5cc49349b7 (diff)
Fixed #507 and update other active controls.
Diffstat (limited to 'framework/Web/UI/ActiveControls/TInPlaceTextBox.php')
-rw-r--r--framework/Web/UI/ActiveControls/TInPlaceTextBox.php24
1 files changed, 0 insertions, 24 deletions
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
@@ -150,21 +150,6 @@ class TInPlaceTextBox extends TActiveTextBox
}
/**
- * 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
*/
@@ -241,15 +226,6 @@ class TInPlaceTextBox extends TActiveTextBox
}
/**
- * 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
*/
protected function getClientClassName()