HTL sly-repeat


HTL sly-repeat
This tag helps to repeat an element multiple times based on the list which is specified.

For eg:
<div data-sly-repeat="${currentPage.listChildren}">${item.name}</div>
The difference with <data-sly-list/> is that list needs a container element where repeat does not require it.

Go to HTL Tutorial Home page

No comments:

Post a Comment