3 Replies Latest reply on Jul 6, 2009 5:26 PM by Yogesh Bhardwaj

    nodeSelectListener not working in <rich:tree...>

    Yogesh Bhardwaj Newbie

      Hello fellows,

      I'm working with RichFaces 3.1.0, and trying to use 'nodeSelectListener' in <rich:tree...>, but no event is getting generated when I select a tree node. I turned org.richfaces logging level to FULL, but don't see anything in the logs.
      I found the following JIRA issue - https://jira.jboss.org/jira/browse/RF-449, according to which this was fixed in 3.1.0. Is anyone aware which release has the fix for this issue? I cannot upgrade RichFaces version in this application because of dependencies on MyFaces and Sun JSF. The code I am trying to run is very straightforward:

      <rich:tree style="width:300px" id="ifTree" switchType="client" value="#{myBackingBean.sampleRootNode}" var="sampleRootNode" nodeSelectListener="#{myBackingBean.processNodeSelection}">
       <rich:treeNode>
       <h:outputText value="#{sampleRootNode}"/>
       </rich:treeNode>
      </rich:tree>
      


      I would appreciate any help.

      Thanks.