access component as html or jsp | Community
Skip to main content
October 16, 2015
Solved

access component as html or jsp

  • October 16, 2015
  • 1 reply
  • 673 views

Hi,

If I create CQ component e.g. Page, can I access Page component as html or jsp file? 

If I have my page at path content/dam/geometrixx with name test, how can i access it as html?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Yogesh_Upadhyay

You can access your component as html if you set defaultRendering for component as html (cq:defaultView="html"). Or else you can create template first and then create component to handle rendering of that template.

 

Yogesh

1 reply

Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
October 16, 2015

You can access your component as html if you set defaultRendering for component as html (cq:defaultView="html"). Or else you can create template first and then create component to handle rendering of that template.

 

Yogesh