2 Replies Latest reply on Nov 4, 2013 10:34 AM by ache191

    rich:treeNode as rich:dragSource, can not grab node for the icon.

    ache191

      Hi all

       

      I have the following code:

       

                             <rich:treeNode
                                selectedClass="tree-selected-node" expanded="#{true}"
                                iconCollapsed="images/tree/defaultTreeNodeIcon.png"
                                iconExpanded="/images/tree/defaultTreeNodeIconLeaf.png">
      <rich:dragSource dragValue="#{item}" dragIndicator="ind" type="val"
                                      rendered="#{myBean.rendered}" />
                                   #{item.displayName}
                                 </rich:treeNode>

      I can easily grab tree node for the body, but not the icon. It seems icon is not the part of treeNode.

       

      Can you please suggest me something, to make treeNode icon also grabbable ?

       

      Thanks.