I've got the following binding definition but the save-form and load-form is never triggered (or is doesn't have any effect anyway):

      <bnd:value id="field1" path="field1/value">
       <bnd:on-update>
        <bnd:_javascript_ id="field1" path="field1/value">
          <bnd:load-form>
                    var appValue = jxpathPointer.getValue();
                    if (appValue==""||appValue==null) appValue="0";
                    widget.setValue(appValue);
          </bnd:load-form>
          <bnd:save-form>
                    var formValue = widget.getValue();
                    if (formValue==""||formValue==null)
                            jxpathPointer.setValue("0");
                            else
                            jxpathPointer.setValue(appValue);
          </bnd:save-form>
        </bnd:_javascript_>
       </bnd:on-update>
      </bnd:value>

Any help is welcome!

Regards,
Gunter D'Hondt
SOFICO NV Belgium

Reply via email to