The a4j:ajax listener in rich:treeNode is not called when the node is clicked in JBoss WFK 2.

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content