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 <Noah_Sloan baylor.edu> wrote:
> Are you using Facelets? You have to set the attributes
differently in that case.
>
> http://wiki.apache.org/myfaces/Use_Facelets_with_Tomaha
wk
>
> Here's my tree that uses client side toggling:
> <t:tree2 value="#"
var="node"
>
org.apache.myfaces.tree2.CLIENT_SIDE_TOGGLE="#&
quot;
>
org.apache.myfaces.tree2.SHOW_ROOT_NODE="#&quo
t;
>
org.apache.myfaces.tree2.PRESERVE_TOGGLE="#&qu
ot;
>
org.apache.myfaces.tree2.SHOW_LINES="#"
>
org.apache.myfaces.tree2.SHOW_NAV="#">
> ...Facets...
> </t:tree2>
>
>
> -----Original Message-----
> From: Marcio E Miranda [mailto:Marcio.E.Miranda fastsearch.com]
> 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
>
>
>
>
>
>
|