Sightly in AEM 6.3: org.apache.sling.api.request.RecursionTooDeepException:
In AEM 6.3 /apps/core, there is a list component. Try to reuse this component and just overwrite the item.html to make a news listing component.
I have a news component with title, date, content and News.java (using sling models: adaptables = SlingHttpServletRequest.class).
A list component lists all news.
I reuse the list.html, however I have to modify the item.html to retrieve the news node. Don't know how exact to do that.
<sly data-sly-resource="${resource @ appendPath='/jcr:content/root/news'}">
<div class="myproject-news"
data-sly-use.article="myproject.news">
</sly>
<h4 class="myproject-news-title">${ news.title }</h4>
But I am getting an error: org.apache.sling.api.request.RecursionTooDeepException:
Can anyone please help?
Thanks.

