hi
I'm having problems figuring out how to use the t:tree2 action.
I've populated a TreeModelBase with TreeNodeBase objects and added the
model object to a backing bean. The tree is properly rendered, expands
and collapses when using server-side toggle.
My problem is that when i toggle a node, the form is posted to the
server and i don't know how to distinguish between tree toggle and
form button click events in the backing bean. How can i separate the
two events?
Here's how i use tree2:
<t:tree2 id="tree" value="#{treeModel.tree}" var="node"
clientSideToggle="false">
<f:facet name="document">
<h:outputText value="#{node.description}"/>
</f:facet>
</t:tree2>
I also tried setting clientSideToggle to true in the above fragment
but when i try to click the expand icon in the the root node nothing
happens. Any ideas on what could be wrong? The MyFaces
ExtensionsFilter should be properly configured.