pp108 : xforms-onactivebusinessobject

xforms-onactivebusinessobject


This event is fired when the current (active) business object is set on the model.

Event Information

To invoke


  • Paginate to select a record or click a table row.
  • Insert
  • Delete

Default Action

Initiates any action associated with this event.

Named Script

xforms-onactivebusinessobject


Event Object Properties

Property

Description

oldBusinessObject

Reference to the previous business object, if present.

businessObject

Reference to the new business object selected on the model views.



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

Remarks


At any point of time a model can point to zero or one business object only. This event is fired whenever such a business object is selected on its views.

Applies to

Model

Related reference

Business Object
getActiveBusinessObject()