Hello,
I answer my own question.
The problem is that the URL used in the ajaxRequest is based on the URL of the
main Wiki. But in my case i tried to use it from a virtual Wiki
For those who would like to use it in virtual mode, in the page called "Export"
you have to replace :
this.baseUrl = "/xwiki/bin/" + this.action;
With
#if($xwiki.isVirtualMode() && !$context.isMainWiki())
this.baseUrl = "/xwiki/wiki/${context.getDatabase()}/" + this.action;
#else
this.baseUrl = "/xwiki/bin/" + this.action;
#end
Then the pages list should be displayed
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL
-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la part de
PERINAUD Christophe
Envoyé : jeudi 26 mars 2009 14:39
À : XWiki Users
Objet : [xwiki-users] Import/Export application
Hello,
I download the ImportExport Application (1.3) in one of my virtual wiki. When i
go in the export page and select a space nothing happens (only the message
"Start by choosing a space to list documents" in the lower cell disepears)
I tried to look at the code but with no success. I added an instruction
"alert(res.transport.responseText);" in showDocs function and the content is
only set to the xml header. The readyStatus is set to 4 and the status is set
to 200 so everything seems to be ok.
If i call the page in another windows with right parameters
(action=getdocs&spacename=Blog&xpage=rdf), IE 6.0 displays a nice XML file with
all pages in the space in a "value" tag
I can't find out why the XML flow is empty (and so makes the export page not
working)
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8-rc2 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind
the sender, except in the case of an existing written convention with the
addressee. This e-mail may contain material that is confidential and privileged
for the sole use of the intended recipient. Any review, reliance or
distribution by others or forwarding without express permission is strictly
prohibited and may be unlawful. If you are not the intended recipient, please
contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any
attachments are free from any computer virus or similar defect, no liability
will be accepted in that respect. Anyone accessing this e-mail must take their
own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S.
Luxembourg B 6395, T (352) 47 97 1
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind
the sender, except in the case of an existing written convention with the
addressee. This e-mail may contain material that is confidential and privileged
for the sole use of the intended recipient. Any review, reliance or
distribution by others or forwarding without express permission is strictly
prohibited and may be unlawful. If you are not the intended recipient, please
contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any
attachments are free from any computer virus or similar defect, no liability
will be accepted in that respect. Anyone accessing this e-mail must take their
own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S.
Luxembourg B 6395, T (352) 47 97 1
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users