This content has been marked as final.
Show 1 reply
-
1. Re: How to properly reRender a rich:tree after a drop event?
goldenwish Oct 11, 2011 3:26 AM (in response to goldenwish)1 of 1 people found this helpfulProblem solved.
On my drop event listener method we can get the the source component where the event happens in my case the rich:treeNode then
we i cast it to UITreeNode. Since i want to reRender the whole tree i can get UITree in the instance of UITreeNode method getUITree.
What i did was get the current AjaxContext instance then add the tree to be reRendered using the method
addComponentToAjaxRender(UIComponent ui) then i pass the UITree instance. And then it will reRender the whole tree after the response
is sent. Thats all.
-cheers