From 37d761b82a4a5329bed5d08a349247fea1b933b0 Mon Sep 17 00:00:00 2001 From: wei <> Date: Wed, 25 Jan 2006 11:04:45 +0000 Subject: call ensureChildControls in TTemplateControl::__construct() to make available children for TTemplateControl composition. --- framework/Web/UI/TTemplateControl.php | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/Web') 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(); } } -- cgit v1.2.3