于 2011/10/28 16:56, Thomas Mortagne 写道:
2011/10/28 Yang Li <yang.lee.cool(a)gmail.com>om>:
于 2011/10/28 16:46, Thomas Mortagne 写道:
Could you edit the page and add
<% println "Groovy is executed" %>
at the beginning. If you don't have it then it mean you can't execute
groovy script, generally it's because your user does not have
programming right.
I have it!
Ok lets do some debug then.
Put
<%
prinln "filename=" + request.get("filename")
prinln "confirm=" + request.get("confirm")
%>
at the beginning of the page and try to import.
I got erros...
groovy.lang.MissingMethodException: No signature of method:
Script1.prinln() is applicable for argument types: (java.lang.String)
values: filename=null?
<http://10.92.1.154:8080/xwiki/bin/edit/XWiki/filename%3Dnull?parent=XWiki.LargeWikiImport>
Possible solutions: println(), println(), println(java.lang.Object),
println(java.io.PrintWriter), println(java.lang.Object),
print(java.lang.Object)
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users