3 Replies Latest reply on Dec 28, 2011 7:03 AM by st18dec

    rich tree node selection problem

    st18dec

      Hi all,

       

      i have a rich tree

       

      <rich:tree toggleOnClick="false" id="groupTree" nodeSelectListener="#{myBean.processSelection}"

                reRender="textArea,groupTree" ajaxSubmitSelection="true" switchType="client" value="#{myBean.groupTree}" var="item"

                oncontextmenu="true">

                <rich:treeNode  iconLeaf="/images/faces/#{item.gender}.png" icon="/images/faces/user-group-icon.png">

                  <h:outputText value="#{item.name}" />

                </rich:treeNode>

      </rich:tree>

       

      it is working fine.

       

      problem : when i select a node than nodeSelectListener works fine. But when i reSelect this node again it does not work. to select this node again i have to select another node and than i will be able to select previous node.

       

      i want to call nodeSelectListener for the same node after second click.

       

      hopefully you will understand my problem.

       

       

      Thanks :

      -Saurabh