6 2 Shipped Default Pages

LANSA Web Functions

6.2 Shipped Default Pages

Following is a list of the default pages shipped with LANSA Web functions. You should avoid changing the contents of these pages as LANSA may update them in future releases. For details of how to create a process-specific version of these pages, refer to 6.4 Customizing Process Specific Pages.

These pages are partition-specific. They must be loaded as part of the partition set up.

If you modify these pages, you must remember to export them if you move your application to another partition or system. In order to select these pages for export, you must register them as Web components. Refer to for information about Web Application Deployment.

 

Page Name

Description

DEFAULT_CONTENT

The Default Content page is displayed in the Content area of the browser when a process is called.

 

DEFAULT_FRAMESET

Contains the default non-scrolling header style frameset. One frameset holds the STDHEADER page while the other frame holds the body of your function.

 

DEFAULT_HIDDEN

Contains the hidden fields used to exchange information. If you want to include other hidden fields for your Web function application, you can append the hidden fields to this page.

 

DEFAULT_INDEX

Default Process Menu page.

This is the default process menu-handling page.

 

DEFAULT_LAYOUT

Contains the layout used for any LANSA processes that do not have a customized layout.

The default layout assumes a character mode look-and-feel.

 

DEFAULT_SCRIPT

Contains all the JavaScript functions shipped with the product. The page shipped with the product has certain sections conditionally disabled. These sections are for:

  • static header support (no longer recommended)
  • the calendar control support
  • numeric checking
  • DBCS support.

If you need to enable any of these sections, you need to edit this page and remove the appropriate <RDML ONCONDITION> tag.

Refer to tutorial WEB005 - LANSA Process Pages.

DEFAULT_STYLE

Customize this page to embed cascading style sheets for any LANSA process.

Refer to Cascading Style Sheets.

 

DEFAULT_TRACE

When using event logging, this page is used to decide on the level of tracing for your Web function application.

By default, the summary level of tracing is used and requires this page to contain only the keyword TRACE_SUMMARY.

A more detailed level of tracing requires this page to contain the keyword TRACE_DETAILED. This level of tracing is an extension of the summary tracing by providing information about how each page is used.

Information on this topic is also contained in Enabling Event Logging.

 

 

 

For more default pages, refer to 6.3 Other Default Pages.

From the LANSA for the Web Administrator, Enable Partition copies the shipped default pages according to your partition's default language. If the shipped default pages do not exist for your partition's default language, then the English pages will be used.

For translation purposes, it is possible to copy default pages by language other than that of your partition's default language by using the W3@P2500 program. The parameters would be:

Parameter

Type

Description

 

Partition

CHAR(3)

Partition to be enabled.

 

Partition Language

CHAR(4)

One of the partition's defined languages. It is not necessarily the default language.

 

Shipped Language

CHAR(4)

The shipped language default pages to copy from.

 

 

For example:

     CALL W3@P2500 PARM('DEM' 'FRA' 'ENG')

This command copies the shipped ENG pages to FRA in the DEM partition.