24 Jan
2008
24 Jan
'08
4:19 p.m.
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