この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Good day,
I've come across a rather "odd" structure in the content tree of my current project. One of the pages under /content has another page in it's jcr:content node. This child page has it's own jcr:content node. So it looks like this:
/content/myPage (jcr:primaryType: cq:Page)
/content/myPage/parsys (jcr:primaryType: nt:unstructured, sling:resourceType: foundation/component/parsys)
/content/myPage/parsys/jcr:content (jcr:primaryType: nt:unstructured)
/content/myPage/parsys/jcr:content/mySubPage (jcr:primaryType: cq:Page)
/content/myPage/parsys/jcr:content/mySubPage/jcr:content (jcr:primaryType: nt:unstructured)
/content/myPage/parsys/jcr:content/mySubPage/jcr:content/parsys (jcr:primaryType: nt:unstructured, sling:resourceType: foundation/component/parsys)
The whole page is rendered properly (both in the author and publisher environments), with the content of the mySubPage node showing at the right place on the myPage.
I've never seen this kind of structure, so I have some concerns. Is there any objection to having this kind of content structure?
Thanks!
解決済! 解決策の投稿を見る。
Hi,
I would fix this content structure. Even if it doesn't break anything, you might run into problems at a later point. When you found out this now, you should put it on your list.
Jörg
How did you create the pages?
表示
返信
いいね!の合計
The myPage page was created using the author environment.
The mySubPage content on myPage is the result of adding a custom component from the sidekick to the myPage parsys, also using the author environment.
表示
返信
いいね!の合計
Hi,
I would fix this content structure. Even if it doesn't break anything, you might run into problems at a later point. When you found out this now, you should put it on your list.
Jörg