Expand my Community achievements bar.

SOLVED

cq:pagecontent

Avatar

Level 9

Hi All,

Are cq:page and cq:Pagecontent the same?

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

4 Replies

Avatar

Correct answer by
Level 10

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

Avatar

Community Advisor
  • 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%2...

- Runal

Avatar

Level 9

Hi Runal/bsloki,

Thanks a lot for your reply.