You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Leyzerzon, Simeon" <si...@credit-suisse.com> on 2006/12/15 16:22:33 UTC

Tree2 expand

Hi,

I'd like to find out how to have the Tree2 component's nodes expanded on startup.  expandAll() doesn't seem to work.  Does anyone have any knowledge of this?

Thanks,

Simeon Leyzerzon


==============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================

Re: Tree2 expand

Posted by William Huang <WH...@intralinks.com>.
I think you can create your own TreeState object and set it on the
TreeModel..

Bill

                                                                           
             "Leyzerzon,                                                   
             Simeon"                                                       
             <simeon.leyzerzon                                          To 
             @credit-suisse.co         "'users@myfaces.apache.org'"        
             m>                        <us...@myfaces.apache.org>          
                                                                        cc 
             12/15/2006 10:22                                              
             AM                                                    Subject 
                                       Tree2 expand                        
                                                                           
             Please respond to                                             
                 "MyFaces                                                  
                Discussion"                                                
             <users@myfaces.ap                                             
                 ache.org>                                                 
                                                                           
                                                                           




Hi,


I'd like to find out how to have the Tree2 component's nodes expanded on
startup.  expandAll() doesn't seem to work.  Does anyone have any knowledge
of this?


Thanks,


Simeon Leyzerzon


==============================================================================

Please access the attached hyperlink for an important electronic
communications disclaimer:

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==============================================================================


Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.