18 May
2010
18 May
'10
11:40 p.m.
nxdoc = xwiki.getDocument("some.nonexistentDocument"); gives you a brand new document to work with. It won't be put in the database until you call nxdoc.save() or nxdoc.saveAsAuthor() You can put content in the document with nxdoc.setContent("some content"); See: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting Caleb Abel Solórzano Astorga wrote:
Hi,
I want to create an xwiki page from a groovy script and add some content to it. Could somebody tell me how can I accomplish that?
Thanks,
Abel _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users