How to join text inside objects using sightly.
Hi All,
Just wanted to check what is best practise to join strings which are in java object.
<div class="link-list" data-sly-use.linkList="mypackage.LinkList" data-tags="${properties['cq:tags'] @join=', '}">
Now the linkList object have a Tag array in linkList.tags object, but I cannot use the linkList.tags object with join.
I don't want to use the ${properties['cq:tags']} here I wanted to get it from our object and use it. what is the best way of doing it ?
Thanks!
Shehjad