Frameset Definition

The non-scrolling style uses the frameset feature in HTML. Basically, it divides your browser into two frames. One frame holds the STDHEADER page while the other frame holds the body of your function.

The HTML used to define the frameset is stored in DEFAULT_FRAMESET. This is the default frameset definition.

 

<RDML MERGE="&DTD_FRAMESET">

<!--                                         -->

<!--     Default Frameset definition         -->

<!--     Last Modified:  9.1  2001-10-03     -->

 

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

   <title><RDML MERGE="&FUNCTION"></title>

   <meta http-equiv="pragma" content="no-cache" />

</head>

<frameset rows="125, *" border="0" frameborder="no" framespacing="0" scrolling="no">

   <frame name="LHEADER" src="/<RDML MERGE="&CGI">/LANSAWEB?PAGE+<RDML MERGE="&SESSION">+STDHEADER" />

   <frame name="LBODY" src="/<RDML MERGE="&CGI">/LANSAWEB?PAGE+<RDML MERGE="&SESSION">+<RDML MERGE="&PAGE">" />

   <noframes><body>You cannot view the documents with your current browser</body></noframes>

</frameset>

</html>

 

The <frameset> border, frameborder, framespacing and scrolling attributes are not part of the XHTML 1.0 frameset document type definition. They have not been removed to keep the appearance of existing applications.

 

You can modify this file or you can create a frameset definition for a particular LANSA process, by following the naming convention:

   <process>_FRAMESET

where <process> is the name of your LANSA process.

If a frameset page exists for the process, this page will be used instead of DEFAULT_FRAMESET.

You can customize the height of each frame in this page. You can also choose to orientate the frames vertically, instead of horizontally. If you modify the DEFAULT_FRAMESET or create a process specific page, do not modify the names assigned to the frames.

You will want to customize the height of the frames to optimize the usage of the browser’s display area. The height of the header frame should be big enough to display the page. This will then provide maximum area to display the body of the function.