The xforms-model-construct event
Release 2.0 - ...
Dispatched to each XForms model by the XForms processor when constructing a model is started.
Event Properties
| Event Properties | Value / Description |
|---|---|
| Target | model |
| Bubbles | Yes |
| Cancelable | No |
| Context Info | None |
The default action for this event results in the following:
- All XML Schemas are loaded.
- For each instance element (if any), an XPath data model is constructed.
- If applicable, p3p initialization occurs.
- Perform the behaviors of xforms-rebuild, xforms-recalculate, and xforms-revalidate in sequence on this model element without dispatching events to invoke the behaviors.
The notification event markings for these operations are discarded, and the xforms-refresh behavior is not performed since the user interface has not yet been initialized.
After all XForms Models have been initialized, an xforms-model-construct-done event is dispatched to each model element.
Example
| XML |
|
|---|---|
<xforms:model> <xforms:message level="modal" ev:event="xforms-model-construct">xforms-model-construct</xforms:message> </xforms:model> |
|
Specification
Link to the XForms specification: the xforms-model-construct event.