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

Missing listbox selectedItems MVVM 'set' method not detected

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0
    • Fix Version/s: None
    • Component/s: Databind 2

      Description

      By chance I've noticed that if you create a MVVM ZUL file that includes a listbox with a 'selectedItems' attribute defined like:

      selectedItems="@bind(vm.selectedGizmos)"

      ... then if the related MVVM class is missing an expected 'setSelectedGizmos' method then nothing happens.

      I would have expected some validation by ZUL to report the missing 'setXXXX' method

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            davout davout
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: