4 7 1 Menu Components

Web Functions Wizard

4.7.1 Menu Components

When you press the Build Menu button, the Web Functions Wizard generates an HTML page for the component. If you do not press the Build Menu button, your menu definition will be saved but any existing menu component will not correspond with the defined menu entries.

If you are defining a Left Menu component, the Web Functions Wizard generates an HTML page named as:

      <process name>_LMENU1

where
<process name> is the name of the LANSA process.

If it is the Horizontal Menu component, then the page is named <process name>_HMENU1. If you are defining a Right Menu component, the page generated is <process name>_RMENU.

The left and horizontal menu components have a different naming convention to support DHTML menu and standard menus. You can define both a DHTML menu and a Standard menu for the same menu component. This will allow you to prototype and experiment with DHTML and Standard menus by varying your Layout Features.

When you select to include a standard menu, the <process name>_LMENU1 components will be referenced by the <process name>_LMENU component. For more details, refer to Customizing a Presentation Layout – Technically Speaking.

The following HTML code example shows the HTML of the Left Menu component used in the Wizard. The Menu component consists of a single menu item.

 

<!-- LEFT Menu -->

<div align="center">

<table cellspacing="0" cellpadding="0" border="0">

<tr><td>

<RDML COMPONENT="WIZVALUES">

</td></tr>

</table>

</div>