summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/TControl.php2
-rw-r--r--framework/Web/UI/TPage.php2
-rw-r--r--framework/Web/UI/TTemplate.php4
-rw-r--r--framework/Web/UI/TTemplateControl.php2
-rw-r--r--framework/Web/UI/TTheme.php2
5 files changed, 6 insertions, 6 deletions
diff --git a/framework/Web/UI/TControl.php b/framework/Web/UI/TControl.php
index ed6e7dd0..a3d3c93a 100644
--- a/framework/Web/UI/TControl.php
+++ b/framework/Web/UI/TControl.php
@@ -613,7 +613,7 @@ class TControl extends TComponent
if(isset($this->_rf[self::RF_DATA_BINDINGS]))
{
foreach($this->_rf[self::RF_DATA_BINDINGS] as $property=>$expression)
- $this->setPropertyByPath($property,$this->evaluateExpression($expression));
+ $this->setSubProperty($property,$this->evaluateExpression($expression));
if($raiseOnDataBinding)
$this->onDataBinding(null);
if(isset($this->_rf[self::RF_CONTROLS]))
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index bb8f2253..08fbd2fe 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -51,7 +51,7 @@ class TPage extends TTemplateControl
if(is_array($initProperties))
{
foreach($initProperties as $name=>$value)
- $this->setPropertyByPath($name,$value);
+ $this->setSubProperty($name,$value);
}
parent::__construct();
}
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;
diff --git a/framework/Web/UI/TTemplateControl.php b/framework/Web/UI/TTemplateControl.php
index 89bfe12f..7042281c 100644
--- a/framework/Web/UI/TTemplateControl.php
+++ b/framework/Web/UI/TTemplateControl.php
@@ -73,7 +73,7 @@ class TTemplateControl extends TControl implements INamingContainer
if(($tpl=$this->getTemplate(true))!==null)
{
foreach($tpl->getDirective() as $name=>$value)
- $this->setPropertyByPath($name,$value);
+ $this->setSubProperty($name,$value);
}
}
diff --git a/framework/Web/UI/TTheme.php b/framework/Web/UI/TTheme.php
index 1e3d8fab..3d4d4e5d 100644
--- a/framework/Web/UI/TTheme.php
+++ b/framework/Web/UI/TTheme.php
@@ -52,7 +52,7 @@ class TTheme extends TComponent
{
foreach($this->_skins[$type][$id] as $name=>$value)
{
- $control->setPropertyByPath($name,$value);
+ $control->setSubProperty($name,$value);
}
}
else