Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tree2 refresh

 
Mauricio Al
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how refresh a treeNode of tree2?

because only refresh once for treenode...

help me???

My variables of session fill the tree, these variables if they refresh themselves, but my tree does not, I have a method that refreshes the nodes this is:

public void refreshNodes{

treeNode.getChildren().clear();

treeNode.getChildren().addAll(getListSession);
}


my application is JSF
 
Mauricio Al
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HEEEEEELPPPPPPPP!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic