2008/1/21, Thomas Mortagne <[EMAIL PROTECTED]>:
> Hi,
>
> If by "document's sub-tree" you mean space containing documents you
> will have to do that in Velocity I think using a combination of
> $xwiki.searchDocuments("where doc.space='SpaceName'") and

doc.web not doc.space

> $xwiki.copyDocument("SpaceName.DocName", "NewSpace.NewDocName").
>
> 2008/1/21, Raffaele Viola <[EMAIL PROTECTED]>:
> > Hi all,
> >
> > I want to copy a complete document's sub tree under another space or sub
> > tree  ... how can I do it?
> >
> > Thanks
> > Raffo
> >
> > _______________________________________________
> > devs mailing list
> > [email protected]
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
>
>
> --
> Thomas Mortagne
>


-- 
Thomas Mortagne
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to