You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Feike Visser (JIRA)" <ji...@apache.org> on 2015/01/06 16:03:34 UTC

[jira] [Created] (SLING-4285) Support for resource.getChildren in data-sly-list

Feike Visser created SLING-4285:
-----------------------------------

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