WEB009 Web Page Substitution Optional Advanced

LANSA Web Functions

WEB009 - Web Page Substitution (Optional - Advanced)

Note: If you copy and paste these HTML examples into the Web Function Editor, use HTML Paste rather than Paste, so that the HTML tags are copied with the text.

Objective:

  • To demonstrate a technique which can be used so that custom changes to your HTML will not be replaced when a function is recompiled.
  • To show how to use a single field and a Web page component to substitute for the display in a function so that changes to the HTML page are not lost when a function is recompiled and the HTML is regenerated.

This tutorial is optional. It introduces some more advanced level concepts, which are very important to developing WEBEVENT function applications with LANSA for the Web. This tutorial provides a very simple example to demonstrate the concept of Web page substitution.

To achieve these objectives, you will complete the following steps:

Before You Begin

You may wish to review these topics and all of their related sections:

In order to complete the tutorials, you must have completed the following: