pp108 : xforms-onafterinsert

xforms-onafterinsert


This event is fired after the business object is created in the model data.

Event Information

To invoke

Click the Insert icon on the navigation bar.

Default Action

Initiates any action associated with this event.

Named Script

xforms-onafterinsert


Event Object Properties

Property

Description

model

Object that denotes the Model that fired the event.

srcElement

Denotes the html control that has been added as result of this insert action.

businessObject

Object that denotes the new business object that is created for the insert action. The user is free to modify the XML and its nodes and attributes, without deleting the business object.

tuple

The tuple associated with the business object or the newly created html control. This property is null for non-transactional models.

currentContext

The node under business object which has multiple values.



An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.

Remarks


The event fires when the business object is created and is bound to all HTML controls.

Applies to


Model