Pathway/iTS Web Client Programming Manual (H06.03+, J06.03+)

Table Of Contents
Java Import Package Reference
HP NonStop Pathway/iTS Web Client Programming Manual520270-003
6-37
Class HTMLHandler
Parameters
Example
For example, suppose frameset.html is the frameset document and page.html is
the page that must be displayed in the frame named UFRAME. Then this HTML code
would be present in frameset.html:
<FRAMESET COLS="*,*">
<FRAME SRC="cframe.html", NAME="CFrame">
<FRAME SRC="page.html", NAME="UFrame">
</FRAMESET>
And this code would be present in page.html:
<FORM NAME="THEFORM">
<SELECT NAME="SELECTCTRL"> <OPTION> </SELECT>
</FORM>
This call would invoke the method for this example:
displayBase ("page.html", "THEFORM", "UFRAME", "SELECTCTRL");
Method displayOverlay
Purpose
Sets the context of the HTML page on which subsequent methods such as
display() and accept() work.
Syntax
void displayOverlay (String overlayScreenName,
String overlayArea,
String screenIdentifier,
int rowOffset,
int colOffset)
htmlFilename The name of the HTML file to be displayed; for example,
page.html. It is assumed that this HTML file is in the
same directory as the HTML file containing the applet
(cframe.html in the example).
formName The value of the NAME attribute in the <FORM> tag
present in the page.html document.
frameName The value of the NAME attribute in the <FRAME> tag
present in the frameset.html document.
selectCtrlName The value of the NAME attribute in the <SELECT> tag
present in the page.html document.