0 Replies Latest reply on Jul 3, 2007 4:53 AM by Yevgen Tester

    nodeSelected method

    Yevgen Tester Newbie

      I have a tree and 2 nodes (derived from TreeNode)


      if i selected a node in the tree i'm receive a callback

      nodeSelected( NodeSelectedEvent event )

      and i try to get the node

      tree.getTreeNode( nodeKey );

      and i'm receive some strange results

      1 click -> TreeNodeImpl
      2 click (other node) -> MyNode1
      3 click (other node) -> TreeNodeImpl

      i want get always MyNode1 and MyNode2. Why i'm receive TreeNodeImpl.
      I have no TreeNodeImpl. Only MyNode1 and MyNode2

      with tree i'm using setAjaxSubmitSelection(true);

      any ideas? is it a bug?