summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TTemplate.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/TTemplate.php')
-rw-r--r--framework/Web/UI/TTemplate.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/TTemplate.php b/framework/Web/UI/TTemplate.php
index df9bf813..160a00f0 100644
--- a/framework/Web/UI/TTemplate.php
+++ b/framework/Web/UI/TTemplate.php
@@ -148,11 +148,11 @@ class TTemplate extends TComponent implements ITemplate
else // complex property
{
if(is_string($value))
- $component->setPropertyByPath($name,$value);
+ $component->setSubProperty($name,$value);
else if($value[0]===0)
$component->bindProperty($name,$value[1]);
else
- $component->setPropertyByPath($component->evaluateExpression($value[1]));
+ $component->setSubProperty($component->evaluateExpression($value[1]));
}
}
$parent=isset($controls[$object[0]])?$controls[$object[0]]:$tplControl;