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)

Reply via email to