i believe that your error is that you have inserted the call of the cascade inside the onCheckChange method that will be called a very large number of times...infact every node that will be checked will call the onCheckChange....and cascading on all of its childs...maybe you don't see changes to the checks 'cause you have an even number of nodes... bye Pat
2009/7/6 Andrea <[email protected]> > > Hi all: > > I was trying to do something like > > public void onCheckChange(TreeNode node, final boolean checked) > { > rootNode.cascade(new NodeTraversalCallback() { > public boolean execute(TreeNode node) { > node.setChecked(checked); > return true; > } > } > } > > now, that does NOT work, I tried in several different ways, like > trying to get > > public boolean execute(Node node) { > > and casting the node up so I can do a set checked but no joy , anyone > managed to make this work? > Cheers > > Andrea > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GWT-Ext Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gwt-ext?hl=en -~----------~----~----~----~------~----~------~--~---
