2011/10/28 Yang Li <yang.lee.cool(a)gmail.com>om>:
于 2011/10/28 17:10, Thomas Mortagne 写道:
2011/10/28 Yang Li
<yang.lee.cool(a)gmail.com>om>:
于 2011/10/28 17:00, Thomas Mortagne 写道:
2011/10/28 Thomas Mortagne
<thomas.mortagne(a)xwiki.com>om>:
> 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.
Ha wait there is supposed to be several steps in the import, don't you
get a second form asking you what type of import you want ?
Not at all!
You sure you select "Import all" ?
What do you get with the code I gave you ?
Of course, pretty much sure....
After putting at the begginning
<%
prinln "filename=" + request.get("filename")
prinln "confirm=" + request.get("confirm")
%>
Sorry it's
<%
println "filename=" + request.get("filename")
println "confirm=" + request.get("confirm")
%>
I got
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)
By the way, the LargeXarImport succeeded on my laptop with XE3.2 but not
XE3.1 and never succeeded on our sever (Win sever 2003) either XE3.1 nor
XE3.2.
>>
_______________________________________________
>> users mailing list
>> users(a)xwiki.org
>>
http://lists.xwiki.org/mailman/listinfo/users
>>
>
> --
> Thomas Mortagne
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne