ArielWang wrote: > I update XWIKI from 1.1 to 1.8 and I need to keep some VM.
Which exact version of 1.8 are you using? > All JS files are imported into the editor and it seems all functions are > correct except the "link" ->"wiki page". > When I click "link" -> "wiki page" shown below: > > http://n2.nabble.com/file/n3254443/image001.png > > It always showing "Loading data……", see the screenshot below: > http://n2.nabble.com/file/n3254443/image003.png > > I find the problem is some code cannot be parsed: > https://www.denver.com/xwiki/bin/edit/Test/$request.getContextPath()/rest/wikis/$context.getDatabase()/spaces?r=508400 > The italic words are contents cannot be parsed. > > The right URL should > be:http://www.denver.com/xwiki/rest/wikis/xwiki/spaces?r=788517 > > I think $request.getContextPath() should be parsed to: > http://www.denver.com/xwiki ; > and $context.getDatabase() should be parsed to: xwiki > > I don't know whether I am right or not. > Is there anybody can point out the problem why the code cannot be parsed > correctly? Please check in webapps/xwiki/templates/editwysiwyg.vm, around the top of the file, that you have the line: $xwiki.jsfx.use("js/xwiki/xwikiexplorer/xwikiexplorer.js", true) to include the tree javascript. Also, can you please in check Main/AllDocs, the "Tree" view (xwiki/bin/view/Main/AllDocs?view=tree), if the documents tree there loads correctly. Happy hacking, Anca > > I will be so appreciated! _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
