context

The context element defines a context panel by referencing a UIM page which forms the content of the context panel. The element is mandatory and if no context panel is to be defined, then a tab name and tab title must be specified.

The tab title bar and tab name can be populated with data using either the context panel UIM page or using the tab-name and tab-title attributes in the .tab file. Where the context panel UIM page is used only to add content to the tab name and tab title, the height attribute should be set to zero.

For more information on defining context panel UIM pages see Context Panel UIM

Table 1. Attributes of the context Element
Attribute Description
page-id Optional.

A reference to the UIM page that will be used for the content of the context panel. If this is not specified, the tab-name and tab-title attributes must be specified.

tab-name Optional.

The text that will be displayed in the tab bar. The attribute must reference an entry in the associated properties file.

tab-title Optional.

The text that will be displayed in the tab title bar. The attribute must reference an entry in the associated properties file.

height Optional.

The pixel height of the context panel. This is only relevant if a page-id attribute has been specified to define a context panel.

The default value if not specified is 150 pixels.