0 Replies Latest reply: Mar 19, 2012 8:39 PM by Robert Gary RSS

    Proper way to get data from NodeSelectedEvent?

    Robert Gary Newbie

      I've found a way to get the selected tree node using the listener, however it seems like a circuitous way of going about it...

       

      public void groupSelectListener( NodeSelectedEvent event )
      {

               Group selectedGroup = (Group)((HtmlTree)event.getSource()).getTreeNode().getData();

      }

       

      Is there  a more direct way of asking the event object the current selected object?

       

      -Robert