try { current.setContextClassLoader(PropertyConditionEvaluator.class.getClassLoader()); Node node = Ognl.compileExpression((OgnlContext) Ognl.createDefaultContext(null), item, expression); accessor = node.getAccessor(); } finally {
private Node parse(Object target, String expression) { try { return Ognl.compileExpression(_evaluator.createContext(target), target, expression); } catch (Exception ex) { throw new ApplicationRuntimeException(ImplMessages.unableToParseExpression(expression,ex), ex); } }
private Node parse(Object target, String expression) { try { return Ognl.compileExpression(_evaluator.createContext(target), target, expression); } catch (Exception ex) { throw new ApplicationRuntimeException(ImplMessages.unableToParseExpression(expression,ex), ex); } }