5.2 Identifying Generated Pages

In order to modify the LANSA generated HTML pages, you will use the Web Function Editor. You must also know how to identify the pages associated with processes and functions.

When LANSA processes are compiled, no HTML is generated for the process. When a Web enabled LANSA process is executed, LANSA automatically generates the process menu page based on the DEFAULT_INDEX and DEFAULT_CONTENT pages. The DEFAULT_INDEX page is used to initialize the Menu Area of the browser. The DEFAULT_CONTENT page is used to initialize the contents area of the process menu. For more details, refer to 5.3 Modifying the Process Menu.

When a LANSA Web function is compiled, LANSA generates an HTML page for each REQUEST or DISPLAY statement within the function. Each HTML page adopts the following naming convention:

        <process name> <function name><display sequence>

The <process name> is the name of the LANSA process. If the length of the process name is less than 10 characters, it is padded with spaces.

The <function name> is the name of the LANSA function. If the length of the function name is less than 7 characters, it is padded with spaces.

The <display sequence> is the logical sequence of the screen in the function.

For example, the first screen displayed, a REQUEST statement, in the FUNC01 function of PROC01 process will adopt the name:

        PROC01    FUNC01 001

and the second screen displayed, a DISPLAY statement, will adopt the name:

        PROC01    FUNC01 002

Refer to Open . . .(XML/HTML mode).

 

WEB004 - LANSA Generated HTML Pages