Is there a way to customize the Sling error handler to serve cq:Page pages rather than plain JSPs? | Adobe Higher Education
Skip to main content
LinearGradient
Level 6
October 16, 2015
해결됨

Is there a way to customize the Sling error handler to serve cq:Page pages rather than plain JSPs?

  • October 16, 2015
  • 2 답변들
  • 828 조회

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?

이 주제는 답변이 닫혔습니다.
최고의 답변: JustinEd3

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).

2 답변

JustinEd3Adobe Employee답변
Adobe Employee
October 16, 2015

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).

smacdonald2008
Level 10
October 16, 2015

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?