Hi Robert, thanks for the workaround. It works in version 7.0.8 (which I am not allowed to download) or version 8. In version 7.0.3 (free download), treeModel.getSelection() also shows the same bug after the second click on the tree. Will there be incompatibilities if I switch to version 8?
Raw ( 2017-09-11 23:05:20 +0800 )editUnless you are using the MVVM pattern with form-binding I am not aware of any breaking changes. However since 7.0.3 several bugs fixes and smaller features have been implemented so there will be some changes, that might affect your application. You won't know unless you try ;) Robert
cor3000 ( 2017-09-12 09:08:07 +0800 )editAlso check-out the release notes: https://www.zkoss.org/product/zk/releasenote/8.0.0https://www.zkoss.org/product/zk/releasenote/8.0.1 ... (and 8.5 is on the horizon, so maybe wait for that before upgrading, you can try the current state now https://www.zkoss.org/download/freshly/)
cor3000 ( 2017-09-12 09:11:17 +0800 )edit