[
https://issues.apache.org/jira/browse/SLING-8615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16929067#comment-16929067
]
Robert Munteanu edited comment on SLING-8615 at 9/13/19 9:33 AM:
-----------------------------------------------------------------
[~olli] - the actual HTL usage is quite small:
- home.html - {{<sly data-sly-resource="sidebar-extensions"/>}}
- sidebar-extensions.html - {{<sly
data-sly-list.extension="${resource.children}">
<sly data-sly-resource="${extension.path}"/>
</sly>}}
So I don't have anything against switching to full ESP. But I have no idea how
to do that with ESP :-)
I think that {{data-sly-resource="..."}} is {{<% sling.include("..."); %>}}
with ESP. But I have no idea how to iterate through the children. Maybe you or
[~bdelacretaz] have an idea?
was (Author: rombert):
[~olli] - the actual HTL usage is quite small:
- home.html - {{<sly data-sly-resource="sidebar-extensions"/>}}
- sidebar-extensions.html - {{<sly
data-sly-list.extension="${resource.children}">
<sly data-sly-resource="${extension.path}"/>
</sly>}}
So I don't have anything against switching to full ESP. But I have no idea how
to do that with ESP :-)
I think that {{data-sly-resource="..." }} is {{<% sling.include("..."); %>}}
with ESP. But I have no idea how to iterate through the children. Maybe you or
[~bdelacretaz] have an idea?
> Move to a resource-centric setup
> --------------------------------
>
> Key: SLING-8615
> URL: https://issues.apache.org/jira/browse/SLING-8615
> Project: Sling
> Issue Type: Improvement
> Components: Starter
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Priority: Major
> Fix For: Starter Content 1.0.6
>
>
> As proposed on
> https://lists.apache.org/thread.html/847538afdb43d82c7c4a2d59464897168ea1302a69c5b0863eddc360@%3Cdev.sling.apache.org%3E
> , we should use the Sling way and base the starter-content bundle on scripts
> and resources.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)