<t:tree2> has a property called varNodeToggler.
Usage:
<t:tree2 id="clientTree" value="#{TreeBean.commentTreeData}" var="node" varNodeToggler="t" clientSideToggle="true">
<h:outputText value="[Selected]" rendered="#{t.nodeSelected}"></h:outputText>
2006/6/15, Faisal Mahmoud <
[EMAIL PROTECTED]>:
Hi Todd,Perhaps you can have a property that is set for that node when selected, and then use an EL statement to change the styleclass attribute depending on the value of that property.-Faisal
From: Todd Patrick [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 14, 2006 12:18 PM
To: MyFaces Discussion
Subject: How do I highlight the selected node in tree2?I've search the mailing list on how to highlight the selected node in tree2, however what method or setting can accomplish this?Thanks,--Todd

