sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joey Smith (JIRA)" <>
Subject [jira] [Created] (SLING-7999) Add a `length` property to the AbstractRepeatPlugin
Date Tue, 09 Oct 2018 15:44:00 GMT
Joey Smith created SLING-7999:

             Summary: Add a `length` property to the AbstractRepeatPlugin
                 Key: SLING-7999
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
    Affects Versions: Scripting HTL Java Compiler 1.0.26-1.4.0
            Reporter: Joey Smith

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

View raw message