if(archive != null) {
String jarUrl = RequestCycle.get().urlFor(getRelativeRef(archive+".jar")).toString();
String dataUrl = RequestCycle.get().urlFor(getRelativeRef(dataFile)).toString();
DeployJava dj = new DeployJava(wicketId);
dj.setArchive(jarUrl);
dj.setCode(elt.getAttribute("src"));
dj.addParameter("dataFile", dataUrl);
return dj;
}
return super.getDynamicComponent(wicketId, elt);