Hello,
I'm solving simple problem, and I need to render DataList of DataObjects. I created a template (see below). Then in my code i have $var = DataObjectXX::get()->limit(5); $html = $var->renderWith('template') //DataObjectXX has property ->a
//template
<% loop $Children %>
$a
<% end_loop %>
This is just a pseudo code, but the point is, $html does not contains rendered DataList items.
The template is rendered to frontend using Ajax call.
Can anybody help me, where could be the problem?
Thank you