commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Biestro (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (JEXL-119) Allow indexed properties container resolution in expressions
Date Wed, 19 Oct 2011 16:49:10 GMT


Henri Biestro resolved JEXL-119.

    Resolution: Fixed

* Exposed methods from internal/introspection to ease solving method * parameters matching;
* Modified UberspectImpl to search for "pseudo" indexed property patterns;
* Fixed Interpreter to better report property vs variable error;
* Added specific test;
* Updated changes.xml

Committed revision 1186317.


> Allow indexed properties container resolution in expressions
> ------------------------------------------------------------
>                 Key: JEXL-119
>                 URL:
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 2.0.1, 2.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>             Fix For: 2.1
> When a class exposes a "pseudo" indexed property container, JEXL should be able to introspect
and expose it.
> For instance, given a class exposing the methods 'void setProperty(String name, Object
value)' and 'Object getProperty(String name)' and an instance 'o' exposed through the context,
JEXL should allow the expressions '' to execute 'o.getProperty("first")' and
the expression ' = "ONE"' to execute 'o.setProperty("first", "ONE").

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message