2008/1/24, Raffaele Viola <[EMAIL PROTECTED]>:
> Hi all,
>
> I've the a page provaChildren created into a space named space1.
>
> If I execute inside a plugin this line
> document= xwiki.getDocument("space1.provaChildren" ,context);
> I get a new document but writing the code
> #set($cDoc=$xwiki.getDocument(" space1.provaChildren"))
> into a page I get the existing page
>
> Why this difference ... how can I get the existing page into my plugin?

I think that your page name is really " space1.provaChildren" and not
"space1.provaChildren" as spaces are taken into account in page names.

>
> Thanx a lot
> Raffaele
>
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
>
>


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

Reply via email to