pp108 : xforms-onafterchange

xforms-onafterchange


This event is fired after the data is changed on the model.

Event Information

To invoke

Changing value on a HTML element bound to a model and tab out.

Default Action

Changes the XML and HTML data, and initiates any action associated with the event.

Named Script

xforms-onafterchange


Event Object Properties

Property

Description

model

Object that denotes the Model which fired the event.

srcElement

Denotes html control that is affected by the event, in this case the html control whose data is changed.

businessObject

Object that denotes the business object that is changed in the Model data.

currentContext

The xml node under the business object which has multiple values whose value has been changed.



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 data associated to the HTML control is changed. The corresponding views associated to the XML data are all updated after the event is fired.

Applies to


Model

Related reference

Current Context