W3C home > Mailing lists > Public > www-forms@w3.org > June 2009

Questions regarding @incremental

From: Dion Sole <dion.sole@gmail.com>
Date: Tue, 23 Jun 2009 22:40:04 +1200
Message-ID: <4A40B104.5020506@gmail.com>
To: www-forms@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:16 GMT