menu-item

An action entry in the tab actions menu is defined by the menu-item element. The attributes of this element are defined in menu-item.

A menu-item can

Menu items which open modal dialogs are identified by an ellipsis (...), which indicates that further actions are required.

Table 1. Attributes of the menu-item Element
Attribute Description
id Mandatory.

The unique identifier for the menu-item, which must be unique within the configuration file.

page-id Mandatory.

A reference to the UIM page to open when the menu-item is selected.

title Mandatory.

The text that will be displayed for the menu-item. The attribute must reference an entry in the associated properties file.

open-as Optional.

Where set, this attribute indicates that the UIM page to be displayed should be opened as a modal dialog. The only value supported is modal.

append-ellipsis Optional.

A boolean attribute which indicates if the ellipsis automatically appended to menu-item s which open in a modal dialog should be displayed. The default is true. The attribute is applicable only where the open-as attribute has been set.

Note: Setting this attribute to true where the open-as attribute has not been set will not add the ellipsis to the menu-item.

window-options Optional.

Defines the height and width of a modal dialog opened from the menu-item. This is only applicable where the open-as attribute is set to modal.

The format for the attribute is:

width=<pixel value>,height=<pixel value>

For example:

window-options="width=500,height=300"

The height portion of the window-options is optional and if not specified, the height of the dialog will be automatically calculated.

dynamic Optional.

Boolean indicating that the menu-item can be dynamically disabled or hidden. See Dynamic Support for more information.

visible Optional.

Boolean indicating if the menu-item is hidden or visible. The default is true.

type Optional.

Defines a menu-item that downloads a file when selected. The only value supported is FILE_DOWNLOAD.

For more information see File Download Menu Item for more information.

description Optional.

Defines text which forms a description for the menu-item. This is used for administration purposes only. The attribute must reference an entry in the associated properties file.