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?
Thanks,
Valdis