-
Bug
-
Resolution: Invalid
-
Major
-
5.0.7.1
-
Windows 7, Firefox 5
I reload tree model on select event (in order to update tree item labels).
<tree checkmark="true" multiple="true" model="@
{win$composer.model,load-after='tree.onSelect'}"/>
In my implementation, tree item open + select state is set via TreeitemRenderer (according to previous state).
When I randomly select/deselect nodes by clicking on the checkboxes, tree items which I did not touch get also selected randomly!
In the AU onSelect request I can see, that not only the actual selected item are sent, but also others, which mostly do not match existing components, but sometime they do!
It quite looks, that browser model keeps old tree selection state even if tree model gets replaced completly.
Please see also the attached example (simplified).
Just select/unselect tree items via checkboxes and see, what's selected according to server tree model (shown in box below).
After some time of clicking, browser and server tree selection gets out-of-sync! Take also a look on the AU onSelect requests!