How to restrict component container


scenario: have 2 component x-parent & y-child. x-parent has 1 parsys. y-child component should dropable on x-parent component only. ie. on page, want fist drop x-parent , in x-parent drop y-child.

requirement: y-child should dropable on x-parent component not on page directly.

 

component hierarchy:

/apps/mysite/components/base/x-parent
/apps/mysite/components/y-child

approach following: trying set allowedparent property in y-child component /apps/mysite/components/base/x-parent

but child component still dropable on page directly.

please me understand how can restrict child component

i think have typo. property supposed "allowedparents", not "allowedparent". see documentation here:

 

http://dev.day.com/docs/en/cq/current/developing/components.html#properties , child nodes of component



More discussions in Archived Spaces


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account