tab-refresh

By default, only the content area of a tab is refreshed when a modal dialog is submitted. When a modal dialog is closed/cancelled, i.e. no action is performed, the content area is not refreshed.

The tab-refresh element allows different aspects of a tab to be refreshed. The tab actions menu, tab navigation and context panel can all be refreshed based on two events. The first is when a specific UIM page is loaded in the content area and the second when a UIM page is submitted from a modal or the content area.

The two different type of refresh events can be configured using the child elements detailed in Table 1.

Table 1. Supported Child Elements of the tab-refresh Element
Element Description
onload 1..n.

Defines a refresh event, where when the specified page is loaded in the content area, the defined parts of the tab are updated.

onsubmit 1..n.

Defines a refresh event, where when the specified page is submitted from a modal or in the content area, the defined parts of the tab are updated.

onsubmit/onload

The onsubmit and onload elements both require the same set of attributes, as described in Table 2.

Table 2. Attributes of the onload/onsubmit Elements
Attribute Description
page-id Mandatory.

A reference to the UIM page to associate with the refresh event.

context Optional.

Boolean indicating if the context panel should be update when the specified page is loaded or submitted.

menu-bar Optional.

Boolean indicating if the tab actions menu should be updated when the specified page is loaded or submitted. See Dynamic Support for more information.

navigation Optional.

Boolean indicating if the tab navigation should be updated when the specified page is loaded or submitted. See Dynamic Support for more information.

main-content Optional.

Boolean indicating if the main content area should be updated when the specified page is loaded or submitted.

This type of refresh event must only be used for modal dialogs that are opened from a list dropdown panel in a nested expandable list.