0 Replies Latest reply on Feb 29, 2008 8:05 AM by leowenttechie

    getExpressionFactoryMethod

    leowenttechie

      Hi Guys ... I am still facing the same problem...


      Earlier with Seam 1.2 in the SeamApplication12.java the constructor used to register the methods for various usages.



               getELResolverMethod = application.getClass().getMethod("getELResolver");
               addELResolverMethod = application.getClass().getMethod("addELResolver", ELResolver.class);
               getExpressionFactoryMethod = application.getClass().getMethod("getExpressionFactory");
               evaluateExpressionMethod = application.getClass().getMethod("evaluateExpressionGet", FacesContext.class, String.class, Class.class);
               getResourceBundleMethod = application.getClass().getMethod("getResourceBundle", FacesContext.class, String.class);
               createComponentMethod = application.getClass().getMethod("createComponent", ValueExpression.class, FacesContext.class, String.class);
               getELContextListenersMethod = application.getClass().getMethod("getELContextListeners");
               addELContextListenerMethod = application.getClass().getMethod("addELContextListener", ELContextListener.class);
               removeELContextListenerMethod = application.getClass().getMethod("removeELContextListener", ELContextListener.class);
      



      Now that code is no more there. Because of that what is happening is when i call



      facesContext.getApplication.getExpressionFactory()



      it doesn't go to my overridden class which is extending form   javax.faces.application.Application , but goes to SeamApplication.java instead. I am really not able to find out a way to register my method for that.


      i will really appreciate any kind of help


      Thanks in advance