summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorxue <>2006-03-25 14:30:36 +0000
committerxue <>2006-03-25 14:30:36 +0000
commit686805ddf0f760e2c30ff8aa02994daf9fd386fa (patch)
treea412afb65ae299b633c5f940e61f334c7e9a9a60 /framework
parentde4e0fc293b8f5a9d009cf40018bba88d9416b41 (diff)
An exception will be raised if a TContent cannot find a matching TContentPlaceHolder.
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/TTemplateControl.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php
index ef90f0a3..2f63ae5e 100644
--- a/framework/Web/UI/TTemplateControl.php
+++ b/framework/Web/UI/TTemplateControl.php
@@ -204,6 +204,8 @@ class TTemplateControl extends TControl implements INamingContainer
$loc=$controls->remove($placeholder);
$controls->insertAt($loc,$content);
}
+ else
+ throw new TConfigurationException('templatecontrol_placeholder_inexistent',$id);
}
/**