Need to access JCR Child Nodes after CQ:Include
I have a component that uses <cq:include> to add multiple child components inside a main component. However, <cq:include> doesn't actually add the child components in the JCR under the parent.
Because of this the parent node, currentNode.getNodes() returns 0 and looking at CRXDE there are no child nodes. Is there a way to programmatically add child components into the main component so that the nodes will actually appear in the JCR?
I need to access these nodes because I want to be able to create, delete, move, and update the child nodes before any authored content is entered in.