-
1. Re: rich:tree and nodeSelectListener
margotmedia Aug 5, 2009 6:16 PM (in response to margotmedia)fyi: I tried also rerendering the tree component, but despite the rerendering the node is still selected and when clicking on the node the selectListener isn't called.
I looked in the javadoc, but couldn't find a method for setting or getting the selected node. Did I miss anything?
Thanks!
regards,
margotmedia. -
2. Re: rich:tree and nodeSelectListener
ilya_shaikovsky Aug 6, 2009 3:49 AM (in response to margotmedia)use tree state advisors in order to select/deselect/expand/collapse nodes between requests.
-
3. Re: rich:tree and nodeSelectListener
margotmedia Aug 7, 2009 3:57 PM (in response to margotmedia)Thank you for your reply! These methods are for sure very useful. But I didn't find good documentations or examples, so I wan't able to use them.
However I found out how to solve my problem. Now I using the componentState attribute of the tree. With the componentState in the backing bean, I can easily change the state at any time I want and then reRender the tree.
regards,
margotmedia.