Focus event

In 4.3.3, for the xforms:focus event, it says "Default processing for these
events results in the following: None; notification events only."

However, 10.5 setFocus says
"This action sets focus to the form control referenced by the idref
attribute by dispatching an xforms:focus event."

So one says it is informational and the other says it is an action

Two solutions:
1) Two events, one to set the focus, and one to announce that focus has been
set
2) Only the action event, since presumably there is no case that this action
will not be honoured, and so you can listen for it for information purposes.

In this case, section 4.3 (overview of) interaction events (which is wromgly
numbered, and should be numbered 4.1.3), says that focus bubbles. If it is
an action event, then it should not bubble (since then focus would be set on
all elements in the bubbling chain).

Steven Pemberton

Received on Tuesday, 22 January 2002 09:41:25 UTC