3 6 5 Menu Components

Web Functions Wizard

3.6.5 Menu Components

If you look at the generated layout page, you will notice that the first five to seven executable lines are <RDML> tags. For more details, refer to RDML Tags.

<RDML SETTMPFLD="10" VALUE="1">

<RDML SETTMPFLD="11" VALUE="1">

<RDML SETTMPFLD="12" VALUE="1">

<RDML SETTMPFLD="13" VALUE="1">

<RDML SETTMPFLD="14" VALUE="1">

<RDML SETTMPFLD="09" VALUE="1">

<RDML TRACE>

The <RDML SETTMPFLD> tags are used to set user-updateable fields in LANSA for the Web. These fields are used to determine whether or not a particular Layout Feature is shown. The values associated with these tags are a result of your choice of the Layout Features to include in your presentation layout.

  • RDML SETTMPFLD="9" indicates a Wizard Supported Color has been selected
  • RDML SETTMPFLD="10" is used for the Left Menu component
  • RDML SETTMPFLD="11" is used for the Horizontal Menu component
  • RDML SETTMPFLD="12" is used for the Right Menu component.
  • RDML SETTMPFLD="13" is used for Banner Inclusion
  • RDML SETTMPFLD="14" is used for Company Logo inclusion.

A value of "1" indicates the associated feature should be included when displaying the presentation layout.

If "Click Tracking" has been included in the Layout Feature, the command <RDML TRACE> is automatically embedded in the layout. For more details on configuring your Web server to use <RDML TRACE>, refer to Enabling Event Logging.

The example shown has included all possible layout features.

If you have included a left or horizontal menu in your layout component, the HTML code is generated to include a DHTML Menu or Standard Menu as indicated in your Layout Features selection.

If your current process included a standard Left Menu and you review the <process name>_LMENU page, you will see a single line:

      <process name>_LMENU1

The <process name>_LMENU component will be embedded in the <process name>_LAYOUT of the <RDML MERGE=&LMENU> command.

If your current process included a DHTML Left Menu and you review the <process name>_LMENU page, you will see the following:

<table>

 <tr><td>

  <div id='MenuPos' style='position:relative; width:138; height:138;'>

<img src='<RDML MERGE="&IMAGE">/clearpixel.gif' width='138' height='138'></div>

 </td></tr>

</table>

As for a standard menu, the <process name>_LMENU component will be embedded in the <process name>_LAYOUT at the <RDML MERGE=&LMENU> command. In addition, the <process_name>_LAYOUT will include a reference to the component <process_name>_LMENU2 (which contains your DHTML menu definition) and the component WIZMNUSCR (which contains the javascript to support the DHTML menu).

Only a single DHTML menu can be used by a presentation layout.