In my component, I have a "map" property of xtype multifield that contains a "title" and "path".
When a page is created with the component, the "map" is stored as a String array like: type "String[]" and the value {"title":"This is title one","path":"/foo/bar"},{"title":"This is title two","path":"/foo/bar/2"}.
I would like to display these as an unordered list using Sightly. The code below gets me each pair, but I would like to narrow down even further to each "title" and "path".
<ul data-sly-list="${properties['map']}">
<li>${item}</li>
</ul>
Can I accomplish this using Sightly? Something like this:
<ul data-sly-list.mapItem="${properties['map']}">
<li>Title: ${mapItem.properties['title']}</li>
<li>Path: ${mapItem.properties['path']}</li>
</ul>
Thanks in advance