summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authormikl <>2008-10-16 14:49:12 +0000
committermikl <>2008-10-16 14:49:12 +0000
commit71f5a719845a9fd131c6513e6001fabe1bc8359f (patch)
tree7e5f77708e0c41f57e8364c6feda0d793fe6a3fb /framework
parent6fea677ad180adce8e0b430cf52632e92ee5d3ab (diff)
Fixed #865
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveLabel.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveLabel.php b/framework/Web/UI/ActiveControls/TActiveLabel.php
index e4b4bc6f..40c3e28b 100644
--- a/framework/Web/UI/ActiveControls/TActiveLabel.php
+++ b/framework/Web/UI/ActiveControls/TActiveLabel.php
@@ -77,6 +77,15 @@ class TActiveLabel extends TLabel implements IActiveControl
$this->getPage()->getCallbackClient()->setAttribute($this, 'for', $id);
}
}
+
+ /**
+ * Adds attribute id to the renderer.
+ * @param THtmlWriter the writer used for the rendering purpose
+ */
+ protected function addAttributesToRender($writer) {
+ $writer->addAttribute('id',$this->getClientID());
+ parent::addAttributesToRender($writer);
+ }
}
?>