Hi,

I created two (CQ5.4) components 'page' and 'product'. I want to inherit 
product from page and overwrite i.e. the center.jsp of the page component. I 
also want to make sure you can call two 'views' of the product component. 
Therefore I tried to use a selector:

/products/my-first-product.html -> renders default script
/products/my-first-product.simple.html -> renders a more simple version

If I use a simple.jsp, Sling is calling this script, but I lose the inheritance 
(not DRY). Is there any chance to use both? I want to inherit some parts of the 
page component, other parts shall be overwritten. How can I realize this?

Kind regards,
Marco

Reply via email to