1 Reply Latest reply on Oct 20, 2009 7:11 AM by Ilya Shaikovsky

    MethodBinding deprecation

    David Bolsover Newbie

      Hi all

      I'm using the following code to attach a NodeSelectListener to a dynamically built HtmlTree component:

      MethodBinding binding =
       AppUtils.getCurrentApplication().createMethodBinding("#{NavigationListBean.selectionListener}",
       new Class[]{NodeSelectedEvent.class});
       tree.setNodeSelectListener(binding);
      


      The code works just fine because although MethodBinding is deprecated, RichFaces continues to support JSF 1.1 and 1.2. However, my IDE (Netbeans) continualy complains about the deprecation - and I would like to remove the issue - but how?