The a4j:ajax listener in rich:treeNode is not called when the node is clicked in JBoss WFK 2.
Issue
The a4j:ajax listener in rich:treeNode is not called when the node is clicked.
This is an example of using a4j:ajax listener in rich:treeNode:
<rich:tree id="userTree" value="#{userTree.tree}" var="node" toggleType="client"
selectionType="ajax" selectionChangeListener="#{userTree.selectionChanged}"
nodeType="#{node.type}">
<rich:treeNode id="userTreeNode" type="Base">
<a4j:outputPanel>
<h:outputText value="#{node.name}" />
<a4j:ajax event="click" listener="#{menuService.changeMarginForEntity(node)}"
render="table-panel-content,marginMenu"/>
</a4j:outputPanel>
</rich:treeNode>
Environment
- JBoss Web Framework Kit (WFK) 2
- RichFaces 4.2.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.