Hi, Am Donnerstag, den 31.03.2011, 14:41 +0100 schrieb sam lee: > Day CQ mailing list is: http://groups.google.com/group/day-communique > > If the resource, /products/my-first-product , has sling:resourceType = > /apps/foo/product, > then, to render .html version of the resource, /apps/foo/product/html.jsp > will be used. > To render simple.html version of the resource, > /apps/foo/product/simple.html.jsp will be used. > > You can do whatever you want in those .jsp files. > > I am not sure about inheritance. > You can set /products/my-first-product's sling:resourceSuperType = > /apps/foo/page .. > But I am not sure if that will help for your script resolution (using > <sling:include/>).
Yes, sling supports sling:resourceSuperType of course and thus all resolutions for scripts and servlets will check the resource type hierarchy. Regards Felix
