[FORM]Form open webpage

Oracle form open webpage

SHOW_DOCUMENT(url, target);

Built-in Type: unrestricted procedure

Enter Query Mode: yes

Description: Specifies the URL and target window of a Web application.

Parameters:

url Datatype is VARCHAR2. Specifies the Uniform Resource Locator of the document to be loaded.

targetDatatype 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 Causes the document to load into a new, unnamed top-level window.

Restrictions:

Can only be used from within a form run from the Web.

Example:

1
2
3
4
5
6
7
8

/*
** Built-in:  WEB.SHOW_DOCUMENT
** Example:   Display the specified URL in the target window.
*/
 
BEGIN
<span class="Apple-tab-span"> </span>WEB.SHOW_DOCUMENT('http://www.abc.com', '_self');
END;