List Children in Sightly

Avatar

Avatar

rk39193348

Avatar

rk39193348

rk39193348

25-01-2017

Hi,
I am using the below code to print list children items on page, but it's not working. Can anyone please suggest how to achieve this?

<ul data-sly-list.child="${currentPage.listChildren}">

 entering <li>${child.title}</li>
</ul>

Regards
 

View Entire Topic

Avatar

Avatar

Pawan_Mittal

Avatar

Pawan_Mittal

Pawan_Mittal

25-01-2017

Looks like your syntax is correct. You can refer to http://blogs.adobe.com/experiencedelivers/experience-management/htl-intro-part-1/.