1 Reply Latest reply on Jul 11, 2012 10:13 PM by wqe wqe

    How can I evaluate #{rich:clientId('xxxx')} programatically?

    wqe wqe Newbie

      It is possible ?

       

      I use the following functions but it says : javax.el.ELexception : Function rich:clientId ' not found

       

       

       

      public static <T> T evaluateExpressionGet(String expression) {
                      if (expression == null) {
                              return null;
                      }

                      FacesContext context = FacesContext.getCurrentInstance();
                      return (T) context.getApplication().evaluateExpressionGet(context, expression, Object.class);
              }

       

      Thanks

      PS. I am so sad that the project that involved is still use JSF 1.2 + Richfaces 3