protected function preRenderRecursive()
{
$this->autoDataBindProperties();
if ($this->getVisible(false)) {
if (isset($this->_rf[self::RF_ADAPTER])) {
$this->_rf[self::RF_ADAPTER]->onPreRender(null);
} else {
$this->onPreRender(null);
}
if ($this->getHasControls()) {
foreach ($this->_rf[self::RF_CONTROLS] as $control) {
if ($control instanceof TControl) {
$control->preRenderRecursive();
} else {
if ($control instanceof TCompositeLiteral) {
$control->evaluateDynamicContent();
}
}
}
}
}
$this->_stage = self::CS_PRERENDERED;
}