<submitEventDef> Element

The submitEventDef element is a member of the following categories:

Use the submitEventDef element to define the code that is required to fire an HTTP event for a BI thin bean. The submitEventDef element is similar to the dialogLinkDef element. However, the dialogLinkDef element is limited to firing the initialization event for BI thin dialogs.

The submitEventDef element can be used to provide an Apply or Cancel button or other link for any BI element that serves as a dialog, such as the BI thin dialogs or the explorerDetailDef element.

Note: There is no corresponding BI uiXML element that renders the submitEventDef element. Instead, use any rendering component, such as a UIX button or link, to render the submitEventDef element.

Attributes

id -- (Required) A unique identifier for this element.

sourceId - (Required) Specifies the identifier of the BI thin bean for which an event will be fired.

sourceEventName -- (Required) Specifies the name of the event that is to be fired for a BI thin bean. The names of the valid events for apply and cancel operations in BI uiXML elements that serve as dialogs are as follows:

 

Usage notes

The submitEventDef element is a child of the biThinSessionElement.

Example

The following XML fragment shows a sample in which the submitEventDef element is used to supply a Save button and a Cancel button for a SaveAs dialog. The example uses the following assumptions:


<!-- Definitions within the biSession element --> <bibeans:submitEventDef id="save1" sourceId="saveAs1" event="bi_save" /> <bibeans:submitEventDef id="cancel1" sourceId="saveAs1" event="bi_cancel" /> <!-- Displaying Save As and Cancel buttons in the UI tree section --> <!-- with UIX buttons that refer to the id of the dialogLinkDef --> <button text="Save" data:onClick="page3_save1@bibeans:bisession1" /> <button text="Cancel" data:onClick="page3_cancel1@bibeans:bisession1" />