listname

LANSA WAM

listname

The name of a working list specified in the web_map that will be used to dynamically override attributes of the tab items at run-time. Using the working list you can override any one or more of the following attributes:

  • Tab caption (specify the working list field name in the caption_field property)
  • Tab image (specify the working list field name in the image_field property)
  • Tab selected image (specify the working list field name in the selected_image_field property)
  • Tab hidden (specify the working list field name in the hide_if_true_field property)
  • Tab disabled (specify the working list field name in the disable_if_true_field property).

To use this feature you must specify a working list in your web_map (for *OUTPUT or *BOTH) that contains one or more fields corresponding to one or more of the attributes above that you wish to override. The RDML code in the webroutine should populate the list with the number of entries corresponding to the number of tab items with field values set as described for each of the properties mentioned above.

Note: You still need to use the tab items designer to create the required number of tab items and to set any attributes of the tab items that are not specified in the working list. Refer to Using the menu item designer for more information.

Default value

Blank – no working list is used to override attributes of the tab items at run time. The tabs are displayed as defined in the tab items designer.

Valid values

The name of a working list specified in the web-map for the WebRoutine. A list of available working lists can be selected from by clicking the corresponding dropdown button in the property sheet.

Example

In this example a working list named A1OTABS will be used to override certain attributes of the tab items at run-time. The names of the fields containing the overriding values for each tab item should be specified in one or more of the caption_field, image_field, selected_image_field, hide_if_true_field and/or disable_if_true_field properties.