MVVM Form Binding with References

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 8.0.0
    • Affects Version/s: 7.0.0, 6.5.5
    • Component/s: Databind 2
    • Security Level: Jimmy
    • None

      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 -->

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

              Created:
              Updated:
              Resolved: