[
https://issues.apache.org/jira/browse/SLING-7999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680748#comment-16680748
]
Dan Klco commented on SLING-7999:
---------------------------------
Hey [~radu.cotescu], [~tml] reached out to me on this, it seems like a small
and useful fix, but I don't know enough about the internals of HTL to really
give it a thorough review, would you mind taking a look at the PR and merging?
[https://github.com/apache/sling-org-apache-sling-scripting-sightly-compiler/pull/3]
> Add a `length` property to the AbstractRepeatPlugin
> ---------------------------------------------------
>
> Key: SLING-7999
> URL: https://issues.apache.org/jira/browse/SLING-7999
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting HTL Java Compiler 1.0.26-1.4.0
> Reporter: Joey Smith
> Assignee: Radu Cotescu
> Priority: Trivial
> Fix For: Scripting HTL Java Compiler 1.1.0-1.4.0
>
>
> I have created a PR to add a length property to AbstractRepeatPlugin; this is
> primarily intended to allow users to do things like "Item <X> of <Y>" when
> using a data-sly-list; the count/index property could already be used to
> derive the X, but it seemed there was no simple way to access the Y.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)