JDK-4747738 : stddoclet: Window title shouldn't change when loading left frames (javascript)
  • Type: Bug
  • Component: tools
  • Sub-Component: javadoc(tool)
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: other
  • CPU: generic
  • Submitted: 2002-09-16
  • Updated: 2014-05-05
  • Resolved: 2002-09-28
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.
Other
1.4.2 mantisFixed
Description
Viewing the J2SE with 3 frames displayed, in IE, when clicking on links in 
the upper-left frame, the window title changes to whatever you click on,
which is mislleading, because they don't represent the document in the
main page.  The window title should correspond only to the document 
in the right-hand main frame.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b03
14-06-2004

PUBLIC COMMENTS Fixed. First, I renamed printHeader(String) and its related overloads (which print the HTML file header) to printHtmlHeader, to rename them away from the unrelated printHeader(ClassDoc) (which prints headings on the page). Added boolean parameter "includeScript" to the printHtmlHeader method to tell these cases to exclude this "onload" string from the <BODY> tag of "navigation" files in the left-hand frames: allclasses-frame.html, overview-frame.html and package-frame.html. Also renamed the javascript function from the cryptic "asd()" to "windowTitle()". Change affects these files: com/sun/tools/doclets/standard/AbstractPackageIndexWriter.java com/sun/tools/doclets/standard/AbstractPackageWriter.java com/sun/tools/doclets/standard/PackageFrameWriter.java com/sun/tools/doclets/standard/PackageIndexFrameWriter.java com/sun/tools/doclets/standard/PackageIndexWriter.java com/sun/tools/doclets/standard/PackageWriter.java plus a bunch of other files where only printHeader was renamed. ###@###.### 2002-09-16
16-09-2002

EVALUATION This bug is due to the Javascript routine asd() mistakenly being loaded with <BODY onload="asd()> in the left-hand "navigation" frames by overview-frame.html, allclasses-frame.html and package-frame.html pages. ###@###.### 2002-09-16
16-09-2002