diff options
author | wei <> | 2006-05-04 02:02:43 +0000 |
---|---|---|
committer | wei <> | 2006-05-04 02:02:43 +0000 |
commit | 75a0a250cc6735d13b3b782daf0127298b37c2b9 (patch) | |
tree | fc9a1a0b28022d573097dcc7e71b29dfe6c5821f /framework/Web/UI/TPage.php | |
parent | d255f4d0e332740b3984e21ce3f7a4a4f1968ba3 (diff) |
Adding TCallback component.
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r-- | framework/Web/UI/TPage.php | 2 |
1 files changed, 1 insertions, 1 deletions
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());
}
|