From 75a0a250cc6735d13b3b782daf0127298b37c2b9 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 4 May 2006 02:02:43 +0000 Subject: Adding TCallback component. --- framework/Web/UI/TPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/TPage.php') diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index c72cdd03..598fb9dc 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -862,7 +862,7 @@ class TPage extends TTemplateControl */ public function ensureRenderInForm($control) { - if(!$this->_inFormRender) + if(!$this->getIsCallback() && !$this->_inFormRender) throw new TConfigurationException('page_control_outofform',get_class($control),$control->getUniqueID()); } -- cgit v1.2.3