The problem with copy node
Hi there,
Please see following code to copy a node:
Node src = session.getRootNode().getNode("content/geometrixx-outdoors/en/men/coats/edmonton-winter/jcr:content"); Node dstParent = session.getRootNode().getNode("content/geometrixx-outdoors/fr/men/coats/edmonton-winter"); JcrUtil.copy(src, dstParent, "jcr:content"); session.save(); session.logout();But the result seems the des-page lack of anything, please see following:
This is source page:
[img]copy.png[/img]
This is des-page:
[img]copy2.png[/img]
So why happened that? and how to deal with it? Anyone could help see it? Thanks a lot in advance.
Best regards,
Brian