Hi Guys,
I want to reduce the number of ajax requests send to the server. Therefore I set the property <property as="xs:string" name="oxf.xforms.client.events.mode" value="deferred" />. This works fine!
But if I add the class xxforms-events-mode-default to a control where a value change affects the rest of the form nothing happens. No ajax request is send to the server on value change.
What am I doing wrong?
Simple Example: Depending on the value of the dropdown the second section should be displayed
...
<xf:bind id="fr-form-binds" ref="instance('fr-form-instance')">
<xf:bind id="section-1-bind" name="section-1" ref="section-1">
<xf:bind id="dropdown-bind" ref="dropdown" name="dropdown"/>
</xf:bind>
<xf:bind id="section-2-bind" ref="section-2" name="section-2" relevant="boolean(normalize-space($dropdown) = '1')"/>
</xf:bind>
...
<fr:section id="section-1-control" bind="section-1-bind">
...
<fr:dropdown-select1 xmlns:xxbl="http://orbeon.org/oxf/xml/xbl" id="dropdown-control" bind="dropdown-bind" class="xxforms-events-mode-default">
...
</fr:dropdown-select1>
...
</fr:section>
<fr:section id="section-2-control" bind="section-2-bind">
...
</fr:section>
...