cq:pagecontent | Community
Skip to main content
Level 9
October 16, 2015
Solved

cq:pagecontent

  • October 16, 2015
  • 4 replies
  • 3161 views

Hi All,

Are cq:page and cq:Pagecontent the same?

If not, can you please provide some explanation on this.

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 Lokesh_Shivalingaiah

Hi,

Both are different 

cq:page is a nodetype of a page (root node of a page). 

cq:pagecontent is a nodetype of the node jcr:content of a template where all the content/properties of a template is stored

4 replies

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

Hi,

Both are different 

cq:page is a nodetype of a page (root node of a page). 

cq:pagecontent is a nodetype of the node jcr:content of a template where all the content/properties of a template is stored

Runal_Trivedi
Level 6
October 16, 2015
  • cq:page is the primary node type which holds the cq:pagecontent node under it.
  • cq:pagecontent node is the one that actually defines the content for the page in terms of component nodes along with the characteristics of the page.

Refer to following link - http://docs.adobe.com/docs/en/cq/5-6-1/developing/templates.html#The%20content%20produced%20by%20a%20Template

- Runal

askdctmAuthor
Level 9
October 16, 2015

Hi Runal/bsloki,

Thanks a lot for your reply.

Lokesh_Shivalingaiah
Level 10
October 16, 2015