diff options
Diffstat (limited to 'framework/Web/Services')
-rw-r--r-- | framework/Web/Services/TPageService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/Services/TPageService.php b/framework/Web/Services/TPageService.php index 6a19273d..0ab1b7bf 100644 --- a/framework/Web/Services/TPageService.php +++ b/framework/Web/Services/TPageService.php @@ -148,7 +148,7 @@ class TPageService extends TComponent implements IService {
$component=Prado::createComponent($parameter[0]);
foreach($parameter[1] as $name=>$value)
- $component->setPropertyByPath($name,$value);
+ $component->setSubProperty($name,$value);
$parameters->add($id,$component);
}
}
@@ -159,7 +159,7 @@ class TPageService extends TComponent implements IService $module=Prado::createComponent($moduleConfig[0]);
$application->setModule($id,$module);
foreach($moduleConfig[1] as $name=>$value)
- $module->setPropertyByPath($name,$value);
+ $module->setSubProperty($name,$value);
$module->init($this->_application,$moduleConfig[2]);
}
|