xforms-onbeforeinsert |
Fires before inserting a new business object on the model data.
Event Information
To invoke |
Click the Insert icon on the navigation bar. |
Default Action |
Creates the necessary UI, and initiates any action associated with this event. |
Named Script |
xforms-onbeforeinsert |
Event Object Properties
Property |
Description |
---|---|
model |
Object that denotes the Model which fired the event. |
srcElement |
Denotes the html control on which the insert operation was performed. For example, for a new row inserted in a table, the srcElement will be the table. |
returnValue |
Boolean that denotes whether the insertion operation can be continued or not.
|
An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.
Remarks
The event applies for both transactional and non-transactional models.