We'd need more details about the error you get (stacktrace), not only
the error code.
Thanks,
JV.
On Tue, Aug 26, 2008 at 9:52 AM, <gerem44(a)free.fr> wrote:
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
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Jean-Vincent Drean