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

Children binding add and reload model

XMLWordPrintable

    • ZK 8.0.1

      run the attached example using (8.0.1.FL.20151019-Eval):

      clicking one of the following sequences causes an exception:
      clear, add
      add, add

      org.zkoss.zk.ui.UiException: Adding causes a smaller list?
      	at org.zkoss.bind.impl.ChildrenBindingListDataListener.onListModelDataChange(ChildrenBindingListDataListener.java:60)
      	at org.zkoss.bind.impl.ChildrenBindingListDataListener.onChange(ChildrenBindingListDataListener.java:44)
      	at org.zkoss.zul.AbstractListModel.fireEvent(AbstractListModel.java:68)
      	at org.zkoss.zul.ListModelList.add(ListModelList.java:183)
      

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

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours
                3h