You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Raphael <rb...@btinternet.com> on 2005/01/12 20:29:50 UTC
Refresh Component data : MyFaces 1.0.7
Hi ,
I am using myfaces 1.0.7 for a project and I have the follwing issues :
-- > If I use a tree selection listener to listreen to the myfaces tree
selection event , when a write the follwing code from the selection
listener nothing happens on the UI :
HtmlTree tree = (HtmlTree)TreeSelectionEvent.getComponent();
tree.collapseAll();
yet the tree Object is not null ! I was expecting the tree component on
the page to collapse all of it's nodes. The probleme really is that I
need to 'refresh' the tree nodes by getting new data out of the
database. Really how do you perform such operations given that the
connection to the server is not permanant - data is cached -