JDK-7147631 : DT: Add support for passing arguments to launchApp() as one javascript structure
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: deployment_toolkit
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-02-22
  • Updated: 2013-08-13
  • Resolved: 2012-02-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b27Fixed
Related Reports
Relates :  
Relates :  
Description
As part of 7143984 we added support to launch webstart app using following syntax:

===
var launchParams = {
    "url" : "dynamictree-webstart-no-codebase.jnlp",
    "ignoredparam" : "bb",
    "params" : {"aaa" : "111",
                "ccc" : "",
                "ignoredNonString": 4}};
el.launchApp(launchParams);
===

But it only work for NPAPI java plugin.

We need to support similar syntax for DT plugins too. It is enabling step for 7132539

Comments
Verified using jdk8-b102
13-08-2013

EVALUATION Add support for NPAPI and ActiveX based DT plugins. We still support old syntax too, if first parameter is not complex object we will use old approach. With new approach we expect all parameter have string values except "params" element in the top level. "params" is expected to point to map.
22-02-2012