[ 
https://issues.apache.org/jira/browse/SLING-7682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490582#comment-16490582
 ] 

Radu Cotescu commented on SLING-7682:
-------------------------------------

Implemented in:
 * [commit 
97f42d1|https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler/commit/97f42d1]
 * [commit 
c113b03|https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler-java/commit/c113b03]
 * [commit 
db99f3d|https://github.com/apache/sling-org-apache-sling-scripting-sightly/commit/db99f3d]
 * [commit 
56331be|https://github.com/apache/sling-org-apache-sling-scripting-sightly-testing-content/commit/56331be]
 * [commit 
27f2000|https://github.com/apache/sling-org-apache-sling-scripting-sightly-testing/commit/27f2000]

> Add support for data-sly-list and data-sly-repeat iteration control
> -------------------------------------------------------------------
>
>                 Key: SLING-7682
>                 URL: https://issues.apache.org/jira/browse/SLING-7682
>             Project: Sling
>          Issue Type: Sub-task
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>            Priority: Major
>
> According to [0], both {{data-sly-list}} and {{data-sly-repeat}} should 
> provide support for iteration control.
> {code:html}
> <!--/* Iterate the collections starting from the element at index 5 (6th 
> element), jumping every 5 elements, until index 100 */-->
> <ul data-sly-list="${collection @ begin = 5, step = 5, end = 100}">
>     <li>${item}</li>
> </ul>
> <section data-sly-repeat="${collection @ begin = 5, step = 5, end = 
> 100}">${item}</section>
> {code}
> [0] - https://github.com/Adobe-Marketing-Cloud/htl-spec/issues/55



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to