[ 
https://issues.apache.org/jira/browse/JEXL-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648938#comment-14648938
 ] 

Dmitri Blinov edited comment on JEXL-171 at 7/31/15 8:50 AM:
-------------------------------------------------------------

Should we also consider adding some type of custom property resolvers ?

For example I have j.u.Date and I want give users the ablity to address 
specific parts of date with date.yyyy of even apply formatting like 
date["yyyy-MM-dd"]. For now the only way for this was a wrapper class with a 
Map interface, but it has complications of introducing a new type to framework 
and checking/coercing here and there. So If I could just add a custom property 
resolver for a j.u.Date class...


was (Author: dmitri_blinov):
Should we also consider adding some type of custom property resolvers ?

> Map access operator does not work if key name clashes with map property name
> ----------------------------------------------------------------------------
>
>                 Key: JEXL-171
>                 URL: https://issues.apache.org/jira/browse/JEXL-171
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Dmitri Blinov
>            Assignee: Henri Biestro
>            Priority: Critical
>             Fix For: 3.0
>
>
> The following example returns *false*, according to documentation should 
> return *2*.
> i = new ("java.util.HashMap"); i.a = 1; i["empty"] = 2; i["empty"] 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to