Defining and creating List for creating an expression
-----------------------------------------------------
Key: JEXL-53
URL: https://issues.apache.org/jira/browse/JEXL-53
Project: Commons JEXL
Issue Type: Improvement
Affects Versions: 1.1
Environment: Windows, RAD 7.0
Reporter: Vijay
Fix For: 1.1
I am new to using JEXL and my organization is looking to externalize the list
of expression we have. Many of the expressions have a list of values as a
reference data. I would like to define these values in a properties file along
with the expression. For example:
"List myList = new List['2','3']; if(myList.contains(myValue)){true} else
{false}";
I am unable to define this syntax (error at definition of List). I could not
helpful exception message, while creating the above exception.
The question is, can we define such list in JEXL expression string? what is the
syntax? I could not figure out the answer from the java docs, sample code,
JUnit tests and google !!!
If not, this case can be a potential candidate for improvement.
Thanks
Vijay
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.