XForms event handlersAdded by IBM on October 10, 2012 | Version 1 (Original)
|XForms event handlers track events in the form, such as a button click or the selection of a particular choice. When these events occur, they are registered by the XForms system. This allows you to create actions that are triggered by these events.
For example, you might create an action that is triggered when a particular button is clicked, or when a particular choice in a list is selected.
Detects the activation of the presentation element that contains this event. For example, clicking a button registers the DOMActivate event for that button.
Custom-named events are dispatched with the xforms:dispatch action. Custom event names must not begin with "xf".
Occurs when a choice in an xforms:select, xforms:select1, or xforms:switch option that was previously selected becomes deselected.
Occurs when an data node changes its state from relevant to non-relevant, or when a data node that is not relevant changes value and remains non-relevant.
Occurs when a data node that non-relevant (relevant = false) becomes relevant, or when a node that is relevant changes value and remains relevant.
Occurs when a data node changes its state from valid to invalid, or when data that is invalid changes value and remains invalid.
Occurs when the forms viewing application first opens a form and begins to construct the XForms model.
Occurs when the forms viewing application has finished constructing the XForms model. This occurs just after the form is opened, and always completes before the user can interact with the form.
Occurs when the XForms model is removed from memory. This generally happens when the form is closed or submitted.
Occurs when a data node that is required (required = true) changes to being optional, or when a data node that is optional changes value and remains optional.
Occurs when a data node is read-write (readonly = false) becomes readonly, or when a node that is readonly changes value and remains readonly.
Occurs when a data node that is readonly (readonly = true) becomes read-write, or when a node that is read-write changes value and remains read-write.
Occurs when the forms viewing application has finished the initial set up of all XForms constructs and is ready for user interaction.
Occurs when an data node that is optional (required = false) becomes required, or when a data node that is required changes value and remains required.
Occurs when a choice is selected from an xforms:select, xforms:select1, or xforms:switch option. This event only occurs on the item that is selected.
Occurs when an XForms submission begins.
Occurs when an XForms submission has successfully completed.
Occurs when an XForms submission returns an error.
Occurs when a data node changes its state from invalid to valid, or when a valid node changes its value and remains valid.
Occurs when a value is changed in an XForms option.