Show TOC

Object documentationMenu and MenuItem Locate this document in the navigation structure

 

Hover Menus can be specified for item types as well as display attributes. For item types, the menu is shown attached to the item subject in the standard UWL task view. For display attributes, the hover menu is shown at the attribute value in the column.

Note that the display attribute type needs to be specified as user in order to use menus.

Atrribute Description

Attribute

Description

name

Specifies the unique menu name.

A menu separator bar can be inserted with the reserved name uwlSeparator.

actionRef

The action to be invoked when the menu item is selected by the user.

referenceBundle

The display text to be shown in the menu bar.

Example

Syntax Syntax

  1. <DisplayAttribute name="priority" type ="user" width="10" sortable="yes" referenceBundle="priority">
        <Menu>
            <MenuItem name="Low" actionRef="priorityLow" referenceBundle="menu_priority_low" />
            <MenuItem name="Normal" actionRef="priorityNormal" referenceBundle="menu_priority_normal" />
            <MenuItem name="High" actionRef="priorityHigh" referenceBundle="menu_priority_high" />
         </Menu>
    </DisplayAttribute>
    
End of the code.