Use the java-like "." syntax rather than the file/URL "/" ... e.g.
sourcedoc: Main.WebHome
targetdoc:   Main.Testing

(IMHO, the copy interface is somewhat clunky and error-prone and forces
people who might just want to copy documents to know more than they need to
about Xwiki internal representation for Space/Name . For example, if you
leave off the space in targetdoc -- you may be surprised as to where the
copy ends up.)

Also consider using "SpaceIndex" (e.g.
http://xwiki.org//xwiki/bin/view/Main/SpaceIndex?space=Main ) which will
give you Copy/Delete/Rights access to each document if logged in and
authorized.

On Tue, Jul 15, 2008 at 9:53 PM, Prathap Pandian <[EMAIL PROTECTED]>
wrote:

> Hi,
>
> I want to copy the Main/WebHome page content to some other page in the same
> space.
>
> I think this one can be done through *Copy a document* option. But i don't
> know what i have to give in the "Source Document" and in "Target Doc:"
>
> I tried by giving the URL http://localhost/xwikibin/view/Main/WebHome in
> the
> Source Document, and http://localhost/xwikibin/view/Main/Testing in the
> Target Doc.
>
> But it displayed some error.
>
> Even tried with page name also(Main/WebHome).
>
> Whether i did it wrong..? Please Guide...
>
> --
> Prathap
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>



-- 
Niels
http://nielsmayer.com
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to