summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/TDataList.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TDataList.php b/framework/Web/UI/WebControls/TDataList.php
index 25b1221f..6cd01008 100644
--- a/framework/Web/UI/WebControls/TDataList.php
+++ b/framework/Web/UI/WebControls/TDataList.php
@@ -1097,7 +1097,10 @@ class TDataList extends TBaseDataList implements INamingContainer, IRepeatInfoUs
{
$item=$this->getItem($itemType,$index);
$layout=$repeatInfo->getRepeatLayout();
- $item->renderControl($writer);
+ if($layout===TRepeatLayout::Raw)
+ $item->renderContents($writer);
+ else
+ $item->renderControl($writer);
}
/**