You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (JIRA)" <ji...@apache.org> on 2018/11/09 02:30:00 UTC

[jira] [Assigned] (SLING-7999) Add a `length` property to the AbstractRepeatPlugin

     [ https://issues.apache.org/jira/browse/SLING-7999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Klco reassigned SLING-7999:
-------------------------------

    Assignee: Radu Cotescu

> 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)