A script-enabled browser is required for this page to function properly.

WEB.SHOW_DOCUMENT Built-in

Syntax:

PROCEDURE SHOW_DOCUMENT
(url VARCHAR2,
 target VARCHAR2);

Built-in Type: unrestricted procedure

Enter Query Mode: yes

Description:

Specifies the URL and target window of a Web application. The values of target are defined in Java AppletContext.showDocument(URL url, String target), where target can be any named frame in the document. There are four reserved names that begin with '_' (underscore).

Parameters:

url 
 
Datatype is VARCHAR2. Specifies the Uniform Resource Locator of the document to be loaded.
 
target 
 
Datatype is VARCHAR2. Specifies one of the following targets:

'_self' Causes the document to load into the same frame or window as the source document.

'_parent' Causes the target document to load into the parent window or frameset containing the hypertext reference. If the reference is in a window or top-level frame, it is equivalent to the target _self.

'_top' Causes the document to load into the window containing the hypertext link, replacing any frames currently displayed in the window.

'_blank' (default) Causes the document to load into a new, unnamed top-level window.

Note that these targets are lowercase and enclosed in single quotation marks.

Example

/*

** Built-in: WEB.SHOW_DOCUMENT
** Example: Display the specified URL in the target window.
*/

BEGIN
WEB.SHOW_DOCUMENT('http://www.abc.com', '_self');
END;