Re: [xwiki-users] Load MindMap file
Hi Uwe, uwesbr wrote: It seems, something is wrong with the FreeMind file, might be the style? I've attached a non working file. Regards, Uwe http://www.nabble.com/file/p16395923/Konfig_TotalCommander.mm Konfig_TotalCommander.mm This file is crashing my 0.8.1 Freemind installation. As I can see in the heading of the file, you are using 0.9.0_Beta_8. Please, can you open this file with a 0.8.1 release? I don't know what release is bundled with XWiki, but I am sure it is not the beta one! :-) Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Load MindMap file
Thanks Uwe, uwesbr wrote: Hi Ricardo, I am using the latest version of XWiki an Freemind. But I just started with customizing the wiki,therefore I could not help so much to analyze the problem. Sorry. Regards Uwe I will try to find some time to consistently reproduce the problem and look for a solution. I will keep this thread posted with any news! By the way, have you tried the Mindmap Sitemap Snippet available at http://code.xwiki.org/xwiki/bin/view/Snippets/MindmapSitemapSnippet? Simply great! :-) Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Load MindMap file
Thanks Sergiu, Sergiu Dumitriu wrote: As I know, unsigned applets cannot access random resources on the web, but just from the original server, so there's no way an external file would work. This is a security feature of the applets, and there's nothing we can do about it. We could have a kind of proxy on the server that fetches external mindmap files and returns them to the applet, so, for example, instead of using an external URL, we would use /xwiki/bin/view/MindMap/FetchExternal?url=http://www.example.com/my.mm But still, from the screenshot I see that Uwe's file was local, and not remote. Could it be just a broken mindmap file? I get this message only from remote maps. Perhaps Uwe could share his file to test it here. Or he could try with any of the maps available at http://freemind.sourceforge.net/wiki/index.php/Mind_Map_Gallery From an user point of view here, I think it will be easier to upload the file as an attachment instead of loading it from a remote site. Remote files will be great while freely available, as if stored in /~public_html folders, but if stored in restricted access directories we will be forced to face again the pass username and password in the URL issue. Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Load MindMap file
Hi, Uwe, uwesbr wrote: Hi, if I try to attach a Mindmap file (FreeMind) there is an error loading the file. See image. http://www.nabble.com/file/p16346936/ScreenShot003.jpg Whats wrong with it? Thanks, Uwe I thing I get the same result here. What XWiki release are you using? What skin? I am able here to correctly show mind maps attached to the document where they are going to be shown, but get an error while trying to include a remote file. In my case firstly I get an access denied error while the file is hosted in a free access remote web server, then the same error you are seeing. Are you able to include this same man if it is attached to the XWiki page? I am using FreeMind 0.8.0 here and it seems a new 0.8.1 release is available. I am guessing if it could be also possible to get an update for the freemind.jar bundled with XWiki. http://sourceforge.net/project/showfiles.php?group_id=7118 I will try asap and keep this thread posted. Any feedback will be welcome! Thanks. Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Load MindMap file
Hi, me again... [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: I thing I get the same result here. What XWiki release are you using? What skin? I am able here to correctly show mind maps attached to the document where they are going to be shown, but get an error while trying to include a remote file. In my case firstly I get an access denied error while the file is hosted in a free access remote web server, then the same error you are seeing. Are you able to include this same man if it is attached to the XWiki page? I am using FreeMind 0.8.0 here and it seems a new 0.8.1 release is available. I am guessing if it could be also possible to get an update for the freemind.jar bundled with XWiki. http://sourceforge.net/project/showfiles.php?group_id=7118 I will try asap and keep this thread posted. Any feedback will be welcome! Thanks. Cheers, Ricardo Take a look to the freemind macro (you can find it in /template/macro.vm. The applet always get an URL, either local or remote, so it can not be a problem of MindMaps stored remotely, but anything that is not doing well within the macro itself. So, if there is new *.jar could be great, but we must look for the problem at home :-) Here the macro code... * #macro(mindmap $mindmap $width $height) #if(!$width) #set($width=100%) #end #if(!$height) #set($height=600) #end #if(!$mindmap) #set($mindmap = ) #set($mmurl = ) #else #if($mindmap.startsWith(http)) #set($mmurl = $mindmap) #else #set($mmurl1 = $doc.getAttachmentURL($mindmap,download)) #set($mmurl = http://${request.serverName}:${request.serverPort}${mmurl1};) #end #end applet code=freemind.main.FreeMindApplet.class archive=${request.contextPath}/freemind/freemind.jar width=${width} height=${height} param name=type value=application/x-java-applet;version=1.4 / param name=scriptable value=false / param name=modes value=freemind.modes.browsemode.BrowseMode / param name=browsemode_initial_map value=$mmurl / param name=initial_mode value=Browse / param name=selection_method value=selection_method_direct / /applet #end * HTH, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Load MindMap file
Hi, if I try to attach a Mindmap file (FreeMind) there is an error loading the file. See image. http://www.nabble.com/file/p16346936/ScreenShot003.jpg Whats wrong with it? Thanks, Uwe -- View this message in context: http://www.nabble.com/Load-MindMap-file-tp16346936p16346936.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users