Hi all,
I create a page to change the parent to a chosen page using:
#set ($mydoc = $xwiki.getDocument("some.page"))
$mydoc.setParent($targetdoc)
$mydoc.save()
It works but in the tree page I see the changed page into its original tree location.
What is my fault ??
Thanks
Raffo