You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Emmanuel Jay <em...@gmail.com> on 2005/08/31 16:00:46 UTC

Tree2: moving a node

Hi,

In my app I have to move nodes within in the tree2 (build 20050822). At the 
moment the move operation works if I set preserveToggle to false to prevent 
client side caching of the nodes expand/collapse states. However I do not 
want to have the preserveToggle set to false all the time as for each 
request the tree is totally collapsed (note that if preserveToggle is set to 
true I get the "invalid bit mask of 14" as I presume that the cached values 
are different from the new values and that "confuses the tree"). Is there 
any way I could set the preserveToggle flag to false during an operation and 
set it back to true afterwards (tree2 doesn't seem to have any setters for 
this flag)?

Emmanuel