August 2003
Beginner to intermediate
240 pages
7h 44m
English
The xforms-model-construct-done Event
| Event type: lifecycle |
Event target element: model
|
| Bubbles: Yes |
| Cancelable: No |
When “lazy author” processing is used—when the XForms processor synthesizes instance data based only on form controls—the XForms Model is not yet initialized when this event fires. In practice, this is not a serious problem, since “lazy author” forms are typically very simplistic, and don’t use XML Events or XForms Actions at all.
This initialization event occurs after the XForms Model has been initialized, but before the user interface has, making it the perfect place to perform any data-level initialization tasks, before any data shows up in a form control.
Read now
Unlock full access