United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6606753 DT - createWebStartLaunchButton() results in page with "1" on it after button is pressed.
JDK-6606753 : DT - createWebStartLaunchButton() results in page with "1" on it after button is pressed.

Details
Type:
Bug
Submit Date:
2007-09-19
Status:
Closed
Updated Date:
2010-09-17
Project Name:
JDK
Resolved Date:
2008-01-17
Component:
deploy
OS:
generic
Sub-Component:
deployment_toolkit
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u4
Fixed Versions:
6u10 (b06)

Related Reports
Backport:

Sub Tasks

Description
The javascript method createWebStartLaunchButton (when used with the dt plugins installs) puts an image button on the web page.   When pressing this button the webstart application is launched, but the web page changes to a blank page with just a 1 on it. (looks like the return value of deployJava.launch().

                                    

Comments
EVALUATION

calling deployJava.launch(...) not inside an if statement evaluated to 1 or true, and caused this.
just changing to: ''if (deployJava.launch("' + jnlp + '")) {}' 
fixes it.
                                     
2007-09-27



Hardware and Software, Engineered to Work Together