cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "depub2" <>
Subject RE: Defect: booleanfield (checkbox) submit-on-change does not work
Date Tue, 21 Sep 2004 21:46:52 GMT
The booleanfield (checkbox)
 <fi:styling submit-on-change="true"/>
fails to submit the page when the checkbox value is changed
and yeilds an error when the page is submitted with the field unchecked.

The incorrect behavior may be observed by adding to
 <fi:styling submit-on-change="true"/>
for the "choose" widget; the entire code segment (with surrounding context)
in that file would be:

          <td valign="top"><ft:widget-label id="number"/></td>
          <td valign="top"><ft:widget id="number"/></td>
          <td valign="top"><ft:widget id="choose">

          <fi:styling submit-on-change="true"/>

          <ft:widget-label id="choose"/></td>
          <td valign="top"><ft:widget-label id="sex"/></td>
          <td valign="top"><ft:widget id="sex"/></td>

Then simply access:
and verify that changing the value of the checkbox does not submit the form.

Thanks for putting this on the bug list... (and fixing it :))


View raw message