Questions regarding @incremental

Hello all.
I've been working on various form control bugs for the mozilla XForms project, 
and I've got a few questions regarding event sequencing, @incremental and bound 
node updating:

In sections 4.6.1 and 4.6.3, it's stated that "after the new value is placed 
into the bound instance node, the event sequence...". When would such an event 
occur that the bound instance node hadn't already been updated by the user 
interactively changing the form (4.6.1) or the selection (4.6.3)?
At first I thought this might be the case if @incremental is false, but I can't 
find anything in the actual input and select1 sections that state the instance 
data isn't updated until either activation or a focus change.

So would I be correct in assuming that conceptually, the instance data is 
updated "as you type" for inputs etc., and updated for select/select1 if it 
passes the rules in the select1 section (i.e. not empty and matches one of the 
items)? And that @incremental is only used to inform other controls that the 
bound node has changed since it results in rebuild, recalculate and refresh 
being processed?
I say "conceptually" there because if @incremental is false, it wouldn't matter 
if the bound node was updated or not until activation or focus as far as the 
rest of the form is concerned.

Thanks, Dion.

Received on Tuesday, 23 June 2009 11:46:23 UTC