summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TPage.php
diff options
context:
space:
mode:
authorxue <>2005-12-12 02:32:56 +0000
committerxue <>2005-12-12 02:32:56 +0000
commita7107dbd87aa92462a7348c1e73cd73da42cf4d8 (patch)
treeaab6e973c2bfd2b1276187daee6ce8fbcfa54ce9 /framework/Web/UI/TPage.php
parent5c2ac61fe0f0c892cd9934651d86a28b037a4386 (diff)
Modified rendering logic of hidden fields so that they are rendered at both the beginning and ending of the form.
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r--framework/Web/UI/TPage.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index 2985e4d6..8d2c9686 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -694,7 +694,9 @@ class TPage extends TTemplateControl
throw new TInvalidConfigurationException('page_singleform_required');
$this->_formRendered=true;
$this->_inFormRender=true;
- $this->getClientScript()->renderBeginScripts($writer);
+ $cs=$this->getClientScript();
+ $cs->renderHiddenFields($writer);
+ $cs->renderBeginScripts($writer);
}
/**