0 Replies Latest reply on Mar 19, 2012 8:39 PM by robertgary1

    Proper way to get data from NodeSelectedEvent?

    robertgary1

      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