[
https://issues.apache.org/jira/browse/SLING-7682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu updated SLING-7682:
--------------------------------
Fix Version/s: Scripting HTL Java Compiler 1.0.24-1.4.0
Scripting HTL Compiler 1.0.22-1.4.0
Scripting HTL Testing Content 1.0.10-1.4.0
Scripting HTL Testing 1.0.10-1.4.0
Scripting HTL Engine 1.0.54-1.4.0
> [HTL] 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
> Components: Scripting
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Scripting HTL Engine 1.0.54-1.4.0, Scripting HTL Testing
> 1.0.10-1.4.0, Scripting HTL Testing Content 1.0.10-1.4.0, Scripting HTL
> Compiler 1.0.22-1.4.0, Scripting HTL Java Compiler 1.0.24-1.4.0
>
>
> 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)