You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jim the Standing Bear <st...@gmail.com> on 2006/06/08 17:51:24 UTC

how to refresh an (old) tree?

I have yet another question on the old tree.  How do I get it to refresh?
Our code is supposed to display the contents of an XML document in a tree.
We have written our own java classes to implement both the TreeModel and
TreeNode interfaces.  When a button is clicked, the contents of the XML
Document changes, the tree is supposed to reflect the changes.

However, the problem is that the tree displayed in the web browser doesn't
re-render.  By looking at the log, the new XML Document gets parsed and
processed in our own TreeModel and TreeNode implementations, however, the
tree just never gets re-rendered and still displays the stale Document.

How do I overcome that?  thanks!

-- 
--------------------------------------
Standing Bear Has Spoken
--------------------------------------