Re: Sling Resource Rendering Inheritance

2017-03-23 Thread Roy Teeuwen
Hey Andreas, My approach here is the following: Libs is for libraries that enhance Sling => Composum is a library that is meant to be used to enhance Sling. They also give the benefit that when you package your library/module and let other developers use it, they can extend/override the

Re: Sling Resource Rendering Inheritance

2017-03-23 Thread Andreas Schaefer Sr.
Hi Roy Thanks for all your help. At the end it turns out that I made a mistake when using the HTL include: This was my first include: which fails. But using this: does work. So on another node I saw some Sling apps (samples and Composum) that place their components under /libs

Re: Sling Resource Rendering Inheritance

2017-03-23 Thread Roy Teeuwen
Hey Andreas, I am not sure why it is not working for you that way, but that should definitely still work, there is no dependency whatsoever to a folder being named "components", see my next examples: page-example-2.zip: I moved everything right under /apps/idoneus, no /components => still

Re: Sling Resource Rendering Inheritance

2017-03-22 Thread Roy Teeuwen
Hey Andreas, Have you checked my example? Did you find the difference? Can you elaborate a bit more Greets, Roy > On 22 Mar 2017, at 22:27, Andreas Schaefer wrote: > > This also came from a Sling Sample (I think Fling but I am not sure). > > But removing that is not

Re: Sling Resource Rendering Inheritance

2017-03-22 Thread Andreas Schaefer Sr.
Yeah, the have a big “Download Now” button and that is not the file. I think the reason was that I use Safari w/o Flash and then the link won’t show. That said your code words and the major difference I saw is that the inheritance only works if it is in the /apps//components folder. I tried that

Re: Sling Resource Rendering Inheritance

2017-03-22 Thread Andreas Schaefer
This also came from a Sling Sample (I think Fling but I am not sure). But removing that is not enough. The only way to make it work is to place the components in the folder ‘components’ under my apps folder. - Andy > On Mar 22, 2017, at 12:43 PM, Henry Saginor

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

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