voyent
Messages posted by: frk-7  XML
Profile for frk-7 -> Messages posted by frk-7 [1]
Author Message
Hi ,
i had a similar problem that i solved in this way;

I extracted the tree's component from the context


FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
app.evaluateExpressionGet (ctx,"your_component",TreeBean.class)

from that i took the DefaultMutableTreeNode then removeAllChildren()

hope it helps
 
Profile for frk-7 -> Messages posted by frk-7 [1]
Go to:   
Powered by JForum 2.1.7ice © JForum Team