W3C home > Mailing lists > Public > public-xformsusers@w3.org > May 2017

Re: @incremental

From: Philip Fennell <Philip.Fennell@marklogic.com>
Date: Tue, 9 May 2017 15:11:17 +0000
To: Steven Pemberton <steven.pemberton@cwi.nl>, " XForms" <public-xformsusers@w3.org>
Message-ID: <AB638C45-CD8F-464A-8073-00B4A78ADDE1@marklogic.com>

What you say makes sense. However, as an XForms user rather than an implementer I’ve taken it on face value that it only has useful meaning for controls that take keyboard entry like input or textarea and never thought much more about it. That said, you may want to explicitly set incremental="false" on a range control so I can only assume that it’s default in this case would be true. Is that correct or do I have to explicitly set ‘true’ to ensure a live update?


On 09/05/2017, 15:47, "Steven Pemberton" <steven.pemberton@cwi.nl> wrote:

      Author-optional attribute that defines when instance data is updated by a  
    control. Controls with bindings normally update the instance data when the  
    control loses focus. When true, this attribute indicates that the control  
    should update the instance data more often, thereby generating additional  
    xforms-value-changed events. In incremental mode, an implementation may  
    buffer sequences of changes happening in quick succession, and apply them  
    all at once. The default value for this attribute is false. Although this  
    attribute is available for all controls, in some cases there may be no  
    perceivable difference between incremental and non-incremental mode."

    I think that the default value is wrongly described. In fact many controls  
    are incremental, in the sense that something happens without the control  
    losing focus.
       input, secret, textarea
       range (?)
    What do you think?

Received on Tuesday, 9 May 2017 15:11:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:48 UTC