summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/NewControl.page
diff options
context:
space:
mode:
authorwei <>2006-02-15 07:44:51 +0000
committerwei <>2006-02-15 07:44:51 +0000
commit6e29b055b3cbc2a46e29075608c7e82a328d5270 (patch)
tree13a197ad850f360125a96f5de83f1742a12e98ad /demos/quickstart/protected/pages/Controls/NewControl.page
parentd653bda6c6217f160a4de77e3f2f0ee62096be67 (diff)
Adding new TRatingList component.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/NewControl.page')
-rw-r--r--demos/quickstart/protected/pages/Controls/NewControl.page1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/NewControl.page b/demos/quickstart/protected/pages/Controls/NewControl.page
index 1e934409..61209b6b 100644
--- a/demos/quickstart/protected/pages/Controls/NewControl.page
+++ b/demos/quickstart/protected/pages/Controls/NewControl.page
@@ -64,6 +64,7 @@ class LabeledTextBox extends TControl implements INamingContainer {
$this->getControls()->add($label);
$this->_textbox=new TTextBox;
$this->_textbox->setID('TextBox');
+ $this->_label->setForControl('TextBox');
// add the textbox as a child of LabeledTextBox
$this->getControls()->add($textbox);
}