Hello Kurt,

Sorry, but I cannot answer directly. In fact, I begin every listener of my bean 
by setting the current node with the selectedId I have stored, I have not tried 
to optimize this.

Bye, Dan

-----Original Message-----
From: Kurt Edegger [mailto:[EMAIL PROTECTED] 
Sent: lundi 19 décembre 2005 20:11
To: MyFaces Discussion
Subject: Re: How to get currently selected node of tree2 component

Hi Daniel,

thank you for your answer. That's probably a better way than using 
another bean property to store the selected node in the listener. But 
why and when is the tree.getNode() reset? If you set the node 
explicitely by tree.setNodeSelected(evt) is this persistent until the 
next node is selected?

Thank you again and sorry for the late response,

        Kurt


Reply via email to