-
Bug
-
Resolution: Fixed
-
Normal
-
8.0.0, 9.5.1.2, 9.6.0
-
Security Level: Jimmy
-
None
Steps to Reproduce
https://zkfiddle.org/sample/16c20mj/22-Another-new-ZK-fiddle
Click add
Current Result
Binding doesn't find the new item in the listproxy, need to call BindUtils.postNotityChange to force update
Expected Result
adding item should trigger dirty workflow, cause binder update
Debug Information
https://github.com/zkoss/zk/blob/master/zkbind/src/org/zkoss/bind/proxy/ListProxy.java#L55
ListProxy just sets _dirty to true directly.
AbstractCollectionProxy calls setDirty(true) instead, which includes an update notification
Workaround
call BindUtils.postNotifyChange(bean, "collection") to force update