Adding Parsys in loop in sightly
Hi All,
I need to add parsys in html as many times as my loop runs. Below is my code that is not working.
Parsys is a list with values par1, par2, par3 and so on.
<sly data-sly-list.parsys="${accordian.accordianParsys}" data-sly-unwrap>
${parsys}
<div data-sly-resource="${@path='${parsys}', resourceType='foundation/components/parsys'}"></div>
</sly>
Please advise.
Thanks,
Pradeep
