9.1.1 What are Web Components?

Web component technology is a powerful way of enhancing your LANSA Web Function applications. It allows you to create individual components (small portions or modules of an application), that can be embedded and re-used in your Web Function application.

For example, you can create a Web component, which is:

You can create a Web component for almost any part of your application.

The Web component technology greatly simplifies the HTML pages and significantly reduces the maintenance efforts because components are centrally defined once and are automatically reused. Web components are an extension to the basic LANSA architecture and can be thought of as a repository for building Web Function applications. Components can be updated and generated automatically. Changes can be made to components without having to recompile RDML functions or edit HTML pages. The Web component technology in LANSA Web Functions allows you to easily customize your HTML pages.

The e-Business Framework Wizard uses Web components extensively.

LANSA Web supports the following types of Web components:

The type of LANSA Web component determines how LANSA handles the component.

LANSA Web components are used in conjunction with the <RDML COMPONENT> tag. This tag instructs LANSA to process the Web component indicated by the tag. For more details, refer to <RDML COMPONENT>.