We have a layout that we want to use in a few different places as well as for Sling error handler pages.
Outside Sling error handler, we are using a cq:Pages together with a page component to reuse the template.
Is there a way to configure the Sling error handler to use cq:Pages in a similar way, rather than serving JSP pages?
Solved! Go to Solution.
Views
Replies
Total Likes
Take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/errorpagehandler.html
I think it does exactly what you're looking for (and more).
Views
Replies
Total Likes
Take a look at http://adobe-consulting-services.github.io/acs-aem-commons/features/errorpagehandler.html
I think it does exactly what you're looking for (and more).
Views
Replies
Total Likes
A cq:page is a node (that depicts a page). See this topic:
http://dev.day.com/docs/en/cq/current/developing/templates.html
Part of that node is the JSP that specifies the content of the page. I am not quite sure what you are looking to do. You want sling to serve the cq;page - not the JSP that specifies the content of the page?
Views
Replies
Total Likes