I was wondering if it is possible to reference an xwiki document as source for a FreeMind graph.
 
I have tried the following:
 
1) XWiki.TestMindMap document:  a valid ".mm" freemind file  -- obviously, viewing this xwiki document causes Tomcat to complain.
 
2) XWiki.TestMindMap2 document:
[I have included the directive "xpage=raw" to stop XWiki from processing the file before sending it to Freemind]
 
1.1 MindMap
 
#mindmap("http://server-name:8080/xwiki/bin/view/XWiki/TestMindMap?xpage=raw" "800" "600")
 
[View full screen>$doc.fullName?xpage=plain]
MindManager mindmap converted to Freemind using [Liberated Computing>http://www.liberatedcomputing.org/mm2fm]
 
{pre}
<SCRIPT LANGUAGE="JavaScript">
            function resize() {
                if (navigator.appName.indexOf("Microsoft") != -1) {
                    width=document.body.clientWidth;
                    height=document.body.clientHeight;
                } else {
                    var netscapeScrollWidth=15;
                    width=window.innerWidth - netscapeScrollWidth;
                    height=window.innerHeight-netscapeScrollWidth;
                }
#if($request.xpage=="plain")
                document.applets[0].width = width - 20;
#else
                document.applets[0].width = width - 400;
#end
                document.applets[0].height = height;
                window.scroll(0,0);
            }
            window.onResize = resize;
            window.onLoad = resize;
            resize();
        </SCRIPT>
{/pre}
But this does not work; I get from the Java Console:
 
[Freemind-Developer-Internal-Warning (do not write a bug report, please)]: Tried to get view without being able to get map module.
View is null.
Any hint?
 
jld.

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/437 - Release Date: 04/09/2006