Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7143984

expose webstart launch API in plugin dlls

XMLWordPrintable

    • b27
    • x86
    • windows
    • Not verified

        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.

              igor Igor Nekrestyanov (Inactive)
              ngthomas Thomas Ng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: