8.5 XForms Events at a Glance


The previous sections have described the various events in detail; we give a succinct summary of the behavior of these events in Table 8.3. Note that control refers to XForms user interface controls in this summary.

Table 8.2. Correspondence between XForms Actions and XForms Events

Action

Event

delete

xforms-delete

insert

xforms-insert

rebuild

xforms-rebuild

recalculate

xforms-recalculate

refresh

xforms-refresh

reset

xforms-reset

revalidate

xforms-revalidate

send

xforms-submit

setfocus

xforms-setfocus

Table 8.3. XForms Events at a Glance

Event

Cancel

Bubbles

Target

Initialization Events (Section 8.2)

xforms-model-construct

N

Y

model

xforms-model-construct-done

N

Y

model

xforms-ready

N

Y

model

xforms-model-destruct

N

N

model

Processing Events (Section 8.3.1)

xforms-rebuild

Y

Y

model

xforms-recalculate

Y

Y

model

xforms-revalidate

Y

Y

model

xforms-refresh

Y

Y

model

Interaction Events (Section 8.3)

xforms-previous

Y

N

control

xforms- next

Y

N

control

xforms-focus

Y

N

control

xforms-help

Y

Y

control

xforms-hint

Y

Y

control

xforms-reset

Y

Y

model

xforms-submit

Y

Y

submission

DOMActivate

Y

Y

control

Notification Events (Section 8.4)

DOMFocusIn

N

Y

control

DOMFocusOut

N

Y

control

xforms-value-changing

N

Y

control

xforms-value-changed

N

Y

control

xforms-select

N

Y

item or case

xforms-deselect

N

Y

item or case

xforms-scroll-first

N

Y

repeat

xforms-scroll-last

N

Y

repeat

xforms-insert

N

Y

instance

xforms-delete

N

Y

instance

xforms-valid

N

Y

control

xforms-invalid

N

Y

control

xforms-in-range

N

Y

control

xforms-out-of-range

N

Y

control

xforms-readonly

N

Y

control

xforms-readwrite

N

Y

control

xforms-required

N

Y

control

xforms-optional

N

Y

control

xforms-enabled

N

Y

control

xforms-disabled

N

Y

control

xforms-submit-done

N

Y

submission

xforms-submit-error

N

Y

model

Error Notifications

xforms-binding-exception

N

Y

bind

xforms-link-exception

N

Y

model

xforms-link-error

N

Y

model

xforms-compute-exception

N

Y

model



XForms. XML Powered Web Forms with CD
XForms. XML Powered Web Forms with CD
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 94

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net