Hi all,
I have problems with running javaFX applet inside wicket page. I call a
loading function from ajaxLink
(target.appendJavascript("startApplet()");) and in html:
<wicket:head>
<script src="http://dl.javafx.com/1.2/dtfx.js"
type="text/javascript"></script>
<script type="text/javascript">
function startApplet() {
fxstring = javafxString({
archive: "/neobax/TrafficApplet.jar", //placed in
root next to WEB-INF
draggable: true,
width: 640,
height: 480,
code: "trafficapplet.Main",
name: "TrafficApplet"
});
document.getElementById('taContainer').innerHTML=fxstring;
}
</script>
</wicket:head>
<div id="taContainer" />
Last thing In ajax debug is:
INFO: Initiating Ajax GET request on http://dl.javafx.com/1.2/dtfx.js
INFO: Invoking pre-call handler(s)...
Is there any way to know more about the process for better debugging?
TIA,
--
Marek Šabo