6 5 Technically Speaking

Web Functions Wizard

6.5 Technically Speaking

When you Build a Style Sheet, the Web Functions Wizard creates (or modifies) a process specific HTML page:

<process name>_STYLE

where <process name> is the name of your current LANSA process (this will be DEFAULT for the system default component). Using the Delete Style Sheet button will delete this component.

The <process name>_STYLE page contains the style sheet definition. You can view the style sheet page using the Web Functions Wizard or the Web Function Editor. The style sheet page is a partition specific Web component.

In the <process name>_LAYOUT component generated for your current process (refer to Customizing a Presentation Layout), there is an <RDML MERGE="&STYLE"> tag in the header section of the HTML. When you execute a LANSA function, the layout component is executed including any reference to the style sheet. LANSA for the Web will attempt to locate a process specific style sheet page (<process name>_STYLE). If this page is not found, the DEFAULT_STYLE page is used.

To remove a process specific style sheet component so the DEFAULT_STYLE will be used, select the Delete Style Sheet button from Define Style Sheet – Main Page or manually delete the <process name>_STYLE component using the Web Function Editor.