Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2083

MVVM Form Binding with References

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.0
    • 7.0.0, 6.5.5
    • Databind 2
    • Security Level: Jimmy

      using ZK Bind references inside Formbinding, (depending on usage) bypasses the form buffer, or does not save at all
      see attached example:

      1. reference to propery does not get saved when the form is saved
      nameRef="@ref(fx.name)"
      <textbox value="@bind(nameRef)" /> <!-- value is not saved to the original object on "save" -->

      2. reference to member, and binding the member property on the reference bypasses the form buffer and updates the object outside the form directly
      mainTagRef="@ref(fx.mainTag)"
      <textbox value="@bind(mainTagRef.value)" /> <!-- saves directly bypassing the form buffer -->

            jumperchen jumperchen
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: