summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TTemplateManager.php
diff options
context:
space:
mode:
authorxue <>2006-04-17 02:04:06 +0000
committerxue <>2006-04-17 02:04:06 +0000
commit52e7a15e90626989b53925ff9c573691154fd79f (patch)
tree12b73016f2607c10af4f30c52d5a5a94bf189a04 /framework/Web/UI/TTemplateManager.php
parent9db90898be134c9f70c0b334ec071223e60ed76c (diff)
Merge from 3.0 branch till 928.
Diffstat (limited to 'framework/Web/UI/TTemplateManager.php')
-rw-r--r--framework/Web/UI/TTemplateManager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php
index 6b7202f7..13a5cd28 100644
--- a/framework/Web/UI/TTemplateManager.php
+++ b/framework/Web/UI/TTemplateManager.php
@@ -451,7 +451,7 @@ class TTemplate extends TApplicationComponent implements ITemplate
$component->bindProperty($name,$value[1]);
break;
case self::CONFIG_EXPRESSION: // expression
- $component->setSubProperty($name,$component->evaluateExpression($value[1]));
+ $component->autoBindProperty($name,$value[1]);
break;
case self::CONFIG_TEMPLATE:
$component->setSubProperty($name,$value[1]);
@@ -464,7 +464,7 @@ class TTemplate extends TApplicationComponent implements ITemplate
$component->setSubProperty($name,$this->getApplication()->getParameters()->itemAt($value[1]));
break;
case self::CONFIG_LOCALIZATION:
- $component->setSubProperty($name,localize($value[1]));
+ $component->setSubProperty($name,Prado::localize($value[1]));
break;
default: // an error if reaching here
break;