You want to know which node was clicked or do you want to preserve
that information?  To find out which node was clicked, you can add an
actionListener and check the node identifier.  It won't give you the
true node id that the model uses but the identifier will be whatever
you set it to so you can choose something meaningful.  The most
recently selected node is also known to tree2 but there seems to be a
minor issue with that at the moment.

sean

On 8/26/05, Kolhe, Pallavi (Cognizant) <[EMAIL PROTECTED]> wrote:
>            
>   
> 
> Hi ,  
> 
>    
> 
> I'm using tree2 component in my project.  
> 
>    
> 
> In my listener class  I  retrieve  the  currentnode clicked  whose value I 
> have to  pass to  my treeBacker  class for some processing.  
> 
>    
> 
> Is there any way of maintaining state given in myfaces API .. ??  
> 
>    
> 
> Please let me know ASAP .  
> 
>    
> 
> Regards.  
> 
> Pallavi.  
> 
>    
> 
>    
> 
>          
> This e-mail and any files transmitted with it are for the sole use of the 
> intended recipient(s) and may contain confidential and privileged information.
>  If you are not the intended recipient, please contact the sender by reply 
> e-mail and destroy all copies of the original message. 
>  Any unauthorised review, use, disclosure, dissemination, forwarding, 
> printing or copying of this email or any action taken in reliance on this 
> e-mail is strictly 
>  prohibited and may be unlawful.
>  
>    Visit us at http://www.cognizant.com
>

Reply via email to