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

Tabbox model NotifyChange problem

XMLWordPrintable

    • None

      run the attached example:
      removing a tab (other than the currently selected), will cause incorrect rendering of the last tab

      the example also contains a commented out (more efficient) usage - which does not cause the problem

      as well as a workaround in case the @NotifyChange is required (for some reason), by really replacing the ListModel instance (maybe that's a hint for a fix)

        1. remove-tab-model.zul
          0.7 kB
          cor3000
        2. TabboxRemoveViewModel.java
          1.0 kB
          cor3000

            hanhsu hanhsu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h