List Info

Thread: tree2 : ExpandAll and client side toggle




tree2 : ExpandAll and client side toggle
user name
2006-07-31 16:50:51
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.Mirandafastsearch.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 

 


tree2 : ExpandAll and client side toggle
user name
2006-07-31 16:58:39
Take a look here too for a complete tree2 reference:

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

2006/7/31, Sloan, Noah M <baylor.edu"> Noah_Sloanbaylor.edu>:
Are you using Facelets?&nbsp; 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=&quot;#&quot; var="node"
 &nbsp; org.apache.myfaces.tree2.CLIENT_SIDE_TOGGLE="#{true}"
&nbsp;  org.apache.myfaces.tree2.SHOW_ROOT_NODE=&quot;#"
&nbsp;  org.apache.myfaces.tree2.PRESERVE_TOGGLE=&quot;#{false}"
&nbsp;  org.apache.myfaces.tree2.SHOW_LINES= "#&quot;
 &nbsp; org.apache.myfaces.tree2.SHOW_NAV="#{true}"&gt;
...Facets...
</t:tree2>


-----Original Message-----
From: Marcio E Miranda [mailto:fastsearch.com"> Marcio.E.Mirandafastsearch.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








--
Yours truly (Atenciosamente),

Rogério
tree2 : ExpandAll and client side toggle
user name
2006-07-31 17:44:32
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_Sloanbaylor.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.Mirandafastsearch.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
>
>
>
>
>
>
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )