Expand my Community achievements bar.

SOLVED

access component as html or jsp

Avatar

Level 2

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?

1 Accepted Solution

Avatar

Correct answer by
Level 5

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

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