xforms-change |
This event is fired when the value of business object is changed.
Event Information
To invoke |
Change the value in a control which is bounded to a model and has a reference(xql). |
Default Action |
Initiates any action associated with the event. |
Named Script |
xforms-change |
Event Object Properties
Property |
Description |
---|---|
businessObject |
Object that denotes the business object that is originally present in the Model data. |
model |
Object that denotes the model that fired the event. |
srcElement |
Denotes control whose value changed because of this change operation. |
currentContext |
The xml node under the business object which has multiple values whose value has been changed. |
valid |
Read only. Boolean that denotes whether the entered value is valid or not.
|
An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.
Remarks
For all controls, the onchange event fires when a value associated with a control is changed. However, for enumerated Select and List controls, this event fires when an option is added or removed.