I need to produce HTML output that will look like this:
- 2010
- Item 1
- Item 2
- 2011
- Item 9
- 2012
- item 6
Ive tried a map, ie Map<String,List<String>>
but I cant work out how you would iterate over it, ie this doesnt work:
<ul class="chevron">
$x:{y|
<li>$y$</li><ul class="chevron">
$y:{z|<li>$z.name$/li>}$
</ul>
}$
</ul>