Radu Cotescu created SLING-4449: ----------------------------------- Summary: Allow iterating once over String / Number objects Key: SLING-4449 URL: https://issues.apache.org/jira/browse/SLING-4449 Project: Sling Issue Type: Bug Components: Scripting Affects Versions: Scripting Sightly Engine 1.0.0 Reporter: Radu Cotescu Assignee: Radu Cotescu
There are use cases where an iteration can be performed on a property that's not necessary storing a multiple value. For these use cases {{data-sly-list}} and {{data-sly-repeat}} should be able to iterate once on this value, essentially transforming the iterated object into a {{Collection}} with one element. -- This message was sent by Atlassian JIRA (v6.3.4#6332)