summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorwei <>2006-01-25 11:04:45 +0000
committerwei <>2006-01-25 11:04:45 +0000
commit37d761b82a4a5329bed5d08a349247fea1b933b0 (patch)
treea1999bd7712d835e523ddd929c80bc06f5ce58a5 /framework
parent857c6d6cc7ea52d263c91693aeed3923d6073ba7 (diff)
call ensureChildControls in TTemplateControl::__construct() to make available children for TTemplateControl composition.
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/TTemplateControl.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php
index 72731ecd..e3c4d3e9 100644
--- a/framework/Web/UI/TTemplateControl.php
+++ b/framework/Web/UI/TTemplateControl.php
@@ -65,6 +65,7 @@ class TTemplateControl extends TControl implements INamingContainer
{
foreach($tpl->getDirective() as $name=>$value)
$this->setSubProperty($name,$value);
+ $this->ensureChildControls();
}
}