I was almost expecting that as the CopyOperation of the PostServlet also works 
on JCR nodes.
Thanks for your quick answer Carsten!

Best,

Sandro

Am 09.09.15 um 22:28 schrieb Carsten Ziegeler:
Am 09.09.15 um 21:54 schrieb Sandro Boehme:
> Hi,
>
> is it possible to copy a Resource with it's children using the Resource
> API?
> I tried it according to the docs [1] but I might miss something.

Unfortunately, the docs are not mentioning that this just handles the
resource but not its children. Right now you have to recursively copy
the resources.

Carsten

>
> Thanks for any feedback,
>
> Sandro
>
> [1] -
> 
https://sling.apache.org/documentation/the-sling-engine/sling-api-crud-support.html#copy-a-resource
>
>



Reply via email to