W3C home > Mailing lists > Public > public-forms@w3.org > June 2010

Input bound to boolean node and incremental

From: Klotz, Leigh <Leigh.Klotz@xerox.com>
Date: Tue, 15 Jun 2010 10:25:54 -0700
Message-ID: <E254B0A7E0268949ABFE5EA97B7D0CF40AF1CEFB@USA7061MS01.na.xerox.net>
To: <public-forms@w3.org>
Cc: "support xsltforms" <xsltforms-support@lists.sourceforge.net>
According to

xf:input change the value until you navigate off, unless you use incremental="true".

If the bound node is of type xsd:boolean, however, most desktop browser XForms processors will render the control as a checkbox.
So, if you check the checkbox, nothing happens until you navigate off.

I've not seen implementations with the behavior that checkboxes don't work until you tab off before, but now xsltforms is exhibiting it.
A quick read of the XForms 1.1 Rec shows that it may be the spec-correct behavior.

We had a similar situation with select1, and we fixed it by saying that the default value of attribute incremental for select1 is true:


How can we fix it for input bound to boolean?  It doesn't seem like we can easily say that the default value of attribute incremental for input bound to boolean is true.

Authors might not know whether a control is bound to a boolean or not; for example, now that we allow non-homogeneous repeats:
  <repeat nodeset="*"><input ref="value"><label ref="../label"></label></input>

Received on Tuesday, 15 June 2010 17:26:34 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:14:03 UTC