Re: Question about performing background processing triggered by a request.

2017-03-21 Thread John Logan
Thanks, Stefan. I did wind up getting things working with getServiceResourceResolver(); setting up the service user mapping turned out to be quite easy. For the background work I'm just using the Sling ThreadPoolManager service to make a thread pool for now, though I had looked at [1] and the

Sling Resource Rendering Inheritance

2017-03-21 Thread Andreas Schaefer Sr.
Hi As a long time CQ / AEM backend developer I ran into some issues to adjust to Sling. I have a resource ‘Home Page’ that should render a JCR node as a HTML page. The Home page component then only adjust the layout of the Body and Head and the rest should be inherited from its Resource Super Typ

Sling Resource Rendering Inheritance

2017-03-21 Thread Andreas Schaefer
Hi As a long time CQ / AEM backend developer I ran into some issues to adjust to Sling. I have a resource ‘Home Page’ that should render a JCR node as a HTML page. The Home page component then only adjust the layout of the Body and Head and the rest should be inherited from its Resource Super Typ

Re: Sling Resource Rendering Inheritance

2017-03-21 Thread Roy Teeuwen
Hey Andreas, I made an example package in sling-9, you can use composum to install the package. http://www12.zippyshare.com/v/nWrL1Azm/file.html It works for me, I made the following: /apps/idoneus/components/page => contains page.html and header.html which does a data-sly-include of header.