From 3d437d9dcd37dc901f53ca3322ba118851e3c676 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 17 May 2006 21:24:40 +0000 Subject: Merge from 3.0 branch till 1073. --- demos/quickstart/protected/pages/Controls/NewControl.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'demos/quickstart') diff --git a/demos/quickstart/protected/pages/Controls/NewControl.page b/demos/quickstart/protected/pages/Controls/NewControl.page index 8f4b9be9..c2640a33 100644 --- a/demos/quickstart/protected/pages/Controls/NewControl.page +++ b/demos/quickstart/protected/pages/Controls/NewControl.page @@ -61,12 +61,12 @@ class LabeledTextBox extends TCompositeControl { $this->_label=new TLabel; $this->_label->setID('Label'); // add the label as a child of LabeledTextBox - $this->getControls()->add($label); + $this->getControls()->add($this->_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); + $this->getControls()->add($this->_textbox); } public function getLabel() { $this->ensureChildControls(); -- cgit v1.2.3