Hi Everybody,
I'm new to CQ and really enjoying it. I have a question if someone can please help?
Can anyone help me understand how sling resolves a page component that has a resourceSuperType of foundation/components/page ? I created a page structure similar to the geometrixx pages, and have the following page component.
components/page/contentpage
body.jsp
content.jsp
footer.jsp
header.jsp
Therefore I discovered that I can override the body.jsp as this is the page selected by sling (I originally had contentpage.jsp). Also using this structure I understand that if I have another template and page component I just extend the above "contentpage" component and override "content.jsp" keeping my web site structure (Nice!).
But what I don't understand is how how sling resolves to the body.jsp as the preferred script in the first place? Can anyone help me understand?
Thanks
Darren