-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b27
-
x86
-
windows
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2221565 | 7u4 | Igor Nekrestyanov | P2 | Closed | Fixed | b13 |
it's possible to launch no-codebase jnlp using plugin CLISD, but with OBJECT tag only for now, e.g:
<object width="0" height="0" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93">
<param name="launchjnlp" value="dynamictree-webstart-no-codebase.jnlp"/>
<param name="docbase" value="http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_ComponentArch_DynamicTreeDemo/JavaWebStartAppPage_No_Codebase.html"/>
</object>
this is not flexible enough. we want to have similar support as in DT below:
<html><body>
<object id="javawslauncher" width="0" height="0" classid="clsid:CAFEEFAC-DEC7-0000-0001-ABCDEFFEDCBA">
</object>
<script>function launchIt() {
var el = document.getElementById("javawslauncher");
el.launchApp("dynamictree-webstart-no-codebase.jnlp");
}
</script>
<a href="" onclick="launchIt(); return false;">Launch it</a>
</body><html>
To allow this, we need to expose some webstart launch APIs via the plugin dll. similar to launchApp API in DT dll.
<object width="0" height="0" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93">
<param name="launchjnlp" value="dynamictree-webstart-no-codebase.jnlp"/>
<param name="docbase" value="http://docs.oracle.com/javase/tutorial/deployment/webstart/examples/dist/webstart_ComponentArch_DynamicTreeDemo/JavaWebStartAppPage_No_Codebase.html"/>
</object>
this is not flexible enough. we want to have similar support as in DT below:
<html><body>
<object id="javawslauncher" width="0" height="0" classid="clsid:CAFEEFAC-DEC7-0000-0001-ABCDEFFEDCBA">
</object>
<script>function launchIt() {
var el = document.getElementById("javawslauncher");
el.launchApp("dynamictree-webstart-no-codebase.jnlp");
}
</script>
<a href="" onclick="launchIt(); return false;">Launch it</a>
</body><html>
To allow this, we need to expose some webstart launch APIs via the plugin dll. similar to launchApp API in DT dll.
- backported by
-
JDK-2221565 expose webstart launch API in plugin dlls
-
- Closed
-
- relates to
-
JDK-7147631 DT: Add support for passing arguments to launchApp() as one javascript structure
-
- Closed
-