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 actual
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 ins
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 work
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 enough. The only way to ma
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
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 wrote:
>
> Hi Andreas
>
> I was
Hi Andreas
I was looking at the configuration you provided in your initial e-mail. I
noticed that sling:resourceSuperType under your home page content node is
different from what’s under component node (“sample” vs “sample/page”). Have
you tried deleting this property from the content node? It
Hey Andreas,
Huh, I think you pushed the advertisement button or something, or maybe you
have to click twice. Anyway, here, my dropbox:
https://www.dropbox.com/s/0sem7twkr5a2icp/page-example-1.zip?dl=1
Greetings,
Roy
> On 22 Mar 2017, at 18:26, Andreas Schaefer wrote:
>
> Hi Roy
>
> I tried
Hi Roy
I tried to download your example but I am not going to install
an Installer software just to see a ZIP file.
Can you share this file by any other means?
Thanks - Andy Schaefer
> On Mar 21, 2017, at 9:52 PM, Roy Teeuwen wrote:
>
> Hey Andreas,
>
> I made an example package in sling-9,
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.
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
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
12 matches
Mail list logo