You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2015/02/21 00:32:11 UTC
[jira] [Resolved] (SLING-4449) Allow iterating once over String /
Number objects
[ https://issues.apache.org/jira/browse/SLING-4449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu resolved SLING-4449.
---------------------------------
Resolution: Fixed
Fix Version/s: Scripting Sightly Engine 1.0.0
Fixed in [r1661220|https://svn.apache.org/viewvc?view=revision&revision=1661220].
> 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
> Fix For: Scripting Sightly Engine 1.0.0
>
>
> 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)