diff options
author | xue <> | 2006-01-12 03:22:03 +0000 |
---|---|---|
committer | xue <> | 2006-01-12 03:22:03 +0000 |
commit | e126c0067e9efee6542d08bf649588e2cf3a5924 (patch) | |
tree | e1b14841cfdf8f05ce307ff9d63e8d2a466999a7 /framework/Web/UI/TTemplateManager.php | |
parent | a06e326f247bff617191b1c87a7b004414495275 (diff) |
Fixed several issues about viewstate handling. Prado Composer is nearly completed.
Diffstat (limited to 'framework/Web/UI/TTemplateManager.php')
-rw-r--r-- | framework/Web/UI/TTemplateManager.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php index b6a9abd8..bd838db2 100644 --- a/framework/Web/UI/TTemplateManager.php +++ b/framework/Web/UI/TTemplateManager.php @@ -231,10 +231,9 @@ class TTemplate extends TComponent implements ITemplate * @param TControl the parent control
* @throws TTemplateRuntimeException if an error is encountered during the instantiation.
*/
- public function instantiateIn($tplControl,$page=null)
+ public function instantiateIn($tplControl)
{
- if($page===null)
- $page=$tplControl->getPage();
+ $page=$tplControl->getPage();
$this->_assetManager=$page->getService()->getAssetManager();
$controls=array();
foreach($this->_tpl as $key=>$object)
|