My Oracle Support Banner

How to Use Java Script to Change Browser Characteristics When Using WEB.SHOW_DOCUMENT With Forms (Doc ID 265863.1)

Last updated on NOVEMBER 05, 2021

Applies to:

Oracle Forms - Version 6.0 to 11.0.0 [Release 6 to 11.0.0]
Information in this document applies to any platform.

Goal

A basic working knowledge of Java Script and Oracle Forms in recommended before attempting to use this document.

This article will explain how to use Java Script with the Forms Built-in "WEB.SHOW_DOCUMENT".  It will illustrate how the target browser can be manipulated when launched. This is especially helpful when attempting to hide the browser's URL or when attempting to simulate the Forms "separateFrame=true" look-and-feel.

WARNING:  This note is NOT intended for security purposes and should NOT be part of any security model.  It is intended merely to show how java scripting can be incorporated into a Forms application.

NOTE:  Remember that this document offers java script examples. They may or may not work in your environment as a result of many possibilities unrelated to Oracle and its products. Thorough testing is strongly recommended before using in any production environment.

The information in this document may not work correctly with IE 6.0 and newer if you have applied recent MS service packs and a JRE version older than 1.5.0_xx. This is due to a change in Microsoft security enhancements.  Refer to MS Article ID 884763 for more details.

UPDATE:  This behavior has been tested using IE 7, Sun JRE 1.6.0_10, and Forms 10.1.2.3 and appears to work correctly.  Be aware that the exact behavior will differ between IE 6 and 7 because IE 7 uses a tabbed interface.  Be sure to test and understand this behavior before moving any application to production.  As noted above, some combinations may not work correctly.  Additionally, browser security settings and changes may cause the URL to appear in other locations (e.g. in the title bar) when attempting to hide it.  Some browser security settings may need to be changed in order to enable this functionality. 

The information provided in the article will only work with browsers supporting Java Scripting. Although most of today's browsers support Java Script, the feature can be disabled by the user.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 What's New:

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.