Package org.omnifaces.el

Examples of org.omnifaces.el.ValueExpressionMethodWrapper


    ValueExpression valueExpressionWrapper;

    // JUEL older than 2.2.6 had the expectation that the value expression only wraps a Method instance that can be statically called.
    if (Hacks.isJUELUsed(ctx.getExpressionFactory()) && !Hacks.isJUELSupportingMethodExpression()) {
      valueExpressionWrapper = new ValueExpressionMethodWrapper(methodExpression);
    } else {
      // Sun/Apache EL and JUEL 2.2.6 and higher can call a method expression wrapped in a value expression.
      valueExpressionWrapper = ctx.getExpressionFactory().createValueExpression(methodExpression, MethodExpression.class);
    }
View Full Code Here

TOP

Related Classes of org.omnifaces.el.ValueExpressionMethodWrapper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.