I was trying to add some functionality in core component container. So when I added some styling properties like width,height to container component ,there was option in container component for selecting Layout ,so when I chose simple layout and try to add some component in container component I am getting error of recursion too deep exception in sightly.I will post the error too. If you guys have any solution then please recommend.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @surajtripathi,
Can you post the sightly/html file of the container component?
The RecursionTooDeepException is thrown by the Sling implementation if to many recursive content inclusions take place. The limit of recursive inclusions is implementation dependent.
One suggestion if using <sly data-sly-resource>, provide ${resource.path} or ${currentPage.path} as opposed to ${resource} to avoid looking for all resources under current resource.
Hi @surajtripathi,
Can you post the sightly/html file of the container component?
The RecursionTooDeepException is thrown by the Sling implementation if to many recursive content inclusions take place. The limit of recursive inclusions is implementation dependent.
One suggestion if using <sly data-sly-resource>, provide ${resource.path} or ${currentPage.path} as opposed to ${resource} to avoid looking for all resources under current resource.
Views
Likes
Replies