This content has been marked as final.
Show 4 replies
-
1. Re: richTree remove TreeNode
raviies Oct 13, 2008 3:08 PM (in response to raviies)Can it be a problem of page refresh?
I mean is there a java swing call like tree.updateUI() in richFaces?
Ravi -
2. Re: richTree remove TreeNode
sri_hari Oct 14, 2008 12:53 AM (in response to raviies)did u enclose the tree withing <a4j:outputPanel ajaxRendered="true">?
Try doing it.
You can find out whether it is an refresh issue or not -
3. Re: richTree remove TreeNode
nbelaevski Oct 14, 2008 4:30 AM (in response to raviies)Ravi,
There's no such call. You should use ajaxKeys attribute to point to keys of nodes you wish to update.
P.S. You can refresh page by F5 if the beans are session-scoped to check if changes were applied correctly. -
4. Re: richTree remove TreeNode
raviies Oct 16, 2008 4:43 PM (in response to raviies)I'm still baffled by this problem
I did a simple test:
I added 5 nodes & removed the 4 node; But still all the 5 nodes show uprootNode.addChild(new Integer(users_order),domainNode); rootNode.addChild(new Integer(locations_order),locationRootNode); rootNode.addChild(new Integer(executables_order),executableRootNode); rootNode.addChild(new Integer(schemes_order),rootSchemeNode); rootNode.addChild(new Integer(token_order),tokenNode); rootNode.removeChild(rootSchemeNode);
Has somebody tried removing nodes?