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/16 16:06:13 UTC
[jira] [Updated] (SLING-4285) Support for resource.getChildren in
data-sly-list
[ https://issues.apache.org/jira/browse/SLING-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu updated SLING-4285:
--------------------------------
Fix Version/s: (was: Scripting Sightly Engine 1.0.2)
Scripting Sightly Engine 1.0.0
> Support for resource.getChildren in data-sly-list
> -------------------------------------------------
>
> Key: SLING-4285
> URL: https://issues.apache.org/jira/browse/SLING-4285
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Feike Visser
> Assignee: Radu Cotescu
> Fix For: Scripting Sightly Engine 1.0.0
>
>
> Currently this is not working in sightly:
> {code}
> <data-sly-list="${resource.children}">
> <data-sly-list="${resource.getChildren}">
> {code}
> Feedback from [~radu.cotescu]
> "Resource#getChildren returns an Iterable. Currently the Sightly implementation doesn’t attempt to obtain a collection from an Iterable."
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)