zhouyanming created FREEMARKER-38:
-------------------------------------
Summary: Expose API for expression evaluation
Key: FREEMARKER-38
URL: https://issues.apache.org/jira/browse/FREEMARKER-38
Project: Apache Freemarker
Issue Type: New Feature
Components: engine
Affects Versions: 2.3.25-incubating
Reporter: zhouyanming
There are lots of EL such like SPEL MVEL OGNL, But I need an EL which keep
consistency with freemarker template, for example
{code:java}
Expression exp = new Expression("quantity gt 10",freemarkerConfiguration);
Map<String, Object> ctx = new HashMap<>();
ctx.put("quantity", 12);
Object value = exp.eval(ctx); //return Boolean.TRUE
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)