The below email (from Noah) only applies to MyFaces Tomahawk 1.1.1,
this has been fixed in the newer releases of tomahawk and the below
code will actually cause it to stop workingin facelets.

On 7/31/06, Sloan, Noah M <[EMAIL PROTECTED]> wrote:
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






Reply via email to