I would like to insert on some pages of my wiki (mediawiki) the same "Hypergraph" graph (hypergraph.sourceforge.net/). I installed the Java Applet extension, and I placed hyperapplet.jar, GraphXML.dtd and and graph.xml into the directory "<wiki home>/skins". Then, on concerned pages, in my wiki, I insert for example the following code:
But, when I post it, I have then an error Java Applet window which appears, with the following message:
General error
General error while reading file null.
Exception : java.net.MalformedURLException.
Start applet with default graph
Then a default graph displays on the place of my graph "graph.xml"…
I suppose that I did not place the applet files and the xml file in the good directory, but I tried several directories unsuccessfully. For a static Web site, all these files have to be in the same place as the html file of the page on which the graph has to appear, but, in the case of a wiki, I do not know where to put them.
Thanks a lot !
(and sorry for my bad english… )
* * *
MediaWiki 1.14.0
PHP 5.1.3RC4-dev (cgi-fcgi)
MySQL 5.0.83
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I would like to insert on some pages of my wiki (mediawiki) the same "Hypergraph" graph (hypergraph.sourceforge.net/). I installed the Java Applet extension, and I placed hyperapplet.jar, GraphXML.dtd and and graph.xml into the directory "<wiki home>/skins". Then, on concerned pages, in my wiki, I insert for example the following code:
<java_applet code="hypergraph.applications.hexplorer.HExplorerA pplet" archive="/skins/hyperapplet.jar" align="high" height="500" width="100%"> <param name="file" value="/skins/graph.xml"> <param name="center" value="ACCUEIL"></java_applet>
But, when I post it, I have then an error Java Applet window which appears, with the following message:
General error
General error while reading file null.
Exception : java.net.MalformedURLException.
Start applet with default graph
Then a default graph displays on the place of my graph "graph.xml"…
I suppose that I did not place the applet files and the xml file in the good directory, but I tried several directories unsuccessfully. For a static Web site, all these files have to be in the same place as the html file of the page on which the graph has to appear, but, in the case of a wiki, I do not know where to put them.
Thanks a lot !
(and sorry for my bad english… )
* * *
MediaWiki 1.14.0
PHP 5.1.3RC4-dev (cgi-fcgi)
MySQL 5.0.83