Are you using Facelets?  You have to set the attributes differently in that 
case.

http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk

Here's my tree that uses client side toggling:
<t:tree2 value="#{tree}" var="node"
   org.apache.myfaces.tree2.CLIENT_SIDE_TOGGLE="#{true}"
   org.apache.myfaces.tree2.SHOW_ROOT_NODE="#{false}"
   org.apache.myfaces.tree2.PRESERVE_TOGGLE="#{false}"
   org.apache.myfaces.tree2.SHOW_LINES="#{true}"
   org.apache.myfaces.tree2.SHOW_NAV="#{true}">
...Facets...
</t:tree2>


-----Original Message-----
From: Marcio E Miranda [mailto:[EMAIL PROTECTED]
Sent: Mon 31-Jul-06 11:47 AM
To: MyFaces Discussion
Subject: tree2 : ExpandAll and client side toggle
 
Hi all,

 

I can't make the expandAll method to work with the tree2 component. I've
checked the sample tomahawk application and noticed that it's using
server side toggling. Is it a requirement? Can I use expandAll and
client side toggling? Does anyone have sample code?

 

Thanks!

 

______________________
Marcio Miranda 

 


<<winmail.dat>>

Reply via email to