Hello people,

Im stuck with this error, i have superadmin rights but i cant
create a newdoc using velocity or groovy script.
It worked once and then nothing.
<%
pagename = "Main.Page1"
newdoc = xwiki.getDocument(pagename)
newdoc.setContent("")
newdoc.setTitle("Page1")
newdoc.save()
%>

thx for help.

Gerem
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to