2008/1/24, Raffaele Viola <raffovi(a)gmail.com>om>:
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
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne