diff options
author | xue <> | 2006-04-16 23:07:21 +0000 |
---|---|---|
committer | xue <> | 2006-04-16 23:07:21 +0000 |
commit | dc7b8a0fbe21c091a77338d51e78cf7e54761353 (patch) | |
tree | 63cef0e0aa289745bbfdfa0054bb1b30212ab893 /framework/Web | |
parent | a1ed7c2ad592b6fad8a0ec27f9714ec608cc3cc0 (diff) |
Fixed an inconsistency in setting subproperties.
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/UI/TTemplateManager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TTemplateManager.php b/framework/Web/UI/TTemplateManager.php index 71b53e19..25a43670 100644 --- a/framework/Web/UI/TTemplateManager.php +++ b/framework/Web/UI/TTemplateManager.php @@ -429,7 +429,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]);
@@ -442,7 +442,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;
|