I’m trying to generate a table with freemarker.
<table class="timeline">
<tr>
<#list children as child >
<td class="timeline-item"><a href="${child.url}">${child.title}</a></td>
<td><img class="sitelink_arrow" src="images/arrow.png"/></td>
</#list>
</tr>
</table>
This will generate an error :
Was expecting one of: … … … … … … … … <_INCLUDE> …
… … … … … … … … … … … … … … … … …
… … … … … … … … … … … … … … … “${” …
“#{” …
If I put this list outside the table then it works just fine.
Any ideas ?
Your code should be look like this:
It is better if you post your code as well.
And full error also.