18 Feb
2010
18 Feb
'10
7:17 p.m.
Hi, On Feb 18, 2010, at 7:33 PM, Valdis Vītoliņš wrote:
Following velocity allows to create simpe xwiki document: #set ($mydoc = $xwiki.getDocument("Sandbox.Test1")) $mydoc.setContent("sdfsdf") $mydoc.save()
But How can I create custom object?
http://hans.gerwitz.com/projects/snipsnap-to-xwiki shows some ideas but I can't make it working for me.
Another (awkward) way would be executing external curl command. How can I do this?
you can check this example: http://code.xwiki.org/xwiki/bin/view/Snippets/RestoreXWikiAllGroupSnippet -Vincent