xforms-onafterdelete |
This event is fired after the business object is deleted from the model data.
Event Information
To invoke |
Clicking the Delete icon on the navigation bar. |
Default Action |
Deletes the selected business object in the model data, synchronizes data with the backend, deletes the UI elements associated and initiates any action associated with this event. |
Named Script |
xforms-onafterdelete |
Event Object Properties
Property |
Description |
---|---|
model |
Object that denotes the Model which fired the event. |
srcElement |
Denotes the html control that is affected by the event, in this case the html control that is deleted. |
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. |
An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.
Remarks
For a transactional model, the event is fired after synchronizing the data with the backend. In case the data is not deleted by the backend and a SOAP Fault is returned, the event is not fired.
For non-transactional models, the event fires irrespective of whether data is deleted from the backend or not.