I made it work, its strange but both child and parent (container)
component need to belong to same group. My child component was .hidden
group. also we need to add cq:actions as copymove, paste, edit plus i
need to loop items dynamically as below: code here
otherwise nodes will reset because i was reading nodes statically. we
would also need one more loop to load un-authored components.
I am using AEM6.5, I have a container component which has a number
field. based on number field value I am dynamically adding column
component inside my container component using loop and
data-sly-resource, this all works fine but I am not able to drag and
rearrange positions of column components added dynamically inside my
I have a child component as a multi-field of my parent component, I know
I can initialize child component using cq:template but since I dont know
how many child components ill add from dialog box, I cant initialize fix
number of child components in parents cq:template. Any ideas will be
@arunpatidar I am not sure if I can do that, because child components
are like my slides (multiFieldModels), they can be 100,200 or anything.
I cant initialize that much code in parents cq:template. I need a way to
programmatically initialize grand children in my component.
@B_Sravan I have a component called as X which is a composite component
created using components A and B( is also a composite component created
using 3 other components). Now I am trying to create a new component Y
that will use component X. All looks good I am able to call X from Y but
unable to initialize component B, component A looks good.
UPDATE: I have a Composite component A, which have a child B (also a
composite component) . B has a cq:template which initializes children of
B lets say title, name and image components. I am trying to call B in A
-n numbers of time since its a multifield, therefore I cant intialize B
along with its children in A's cq:template. This doesnt works as
expected in sightly, I am not able to get children of B title, name and
image in A.
So below is my MSM setup (AEM 6.5): -My Site -language masters -English
-United States English (Live copy of language-masters -> English)
Spanish I create the content in language masters -> English and then
roll it out to US English. Then from United States -> English (Live
Copy) I send the content for translation through Lionsbridge Connector,
the translated copy gets created inside United States -> Spanish but it
has live relation with equivalent path in language masters and has