pp108 : xforms-onbeforedelete

xforms-onbeforedelete

This event is fired before a business object is deleted from the model data.

Event Information

To invoke

Click the Delete icon on the navigation bar.

Default Action

Initiates any action associated with this event.

Named Script

xforms-onbeforedelete

Event Object Properties

Property

Description

model

Object that denotes the Model which fired the event.

srcElement

Denotes html control that is deleted as result of this delete action.

returnValue

Boolean that denotes whether the delete operation can be continued or not.

  • true: Default. Delete operation will be continued.
  • false: Delete operation will not be continued.

businessObject

Object that denotes the business object that is deleted from the Model data.

tuple

The tuple associated with the deleted UI or the business object that is deleted.

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

Remarks

This event applies for both transactional and non-transactional models.

Applies to

Model