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
[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.