Pedro Santos created WICKET-6327:
------------------------------------

             Summary: PropertyResover doesn't resolve a property expression to 
its field if it's in a Map object
                 Key: WICKET-6327
                 URL: https://issues.apache.org/jira/browse/WICKET-6327
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 6.26.0, 8.0.0-M3, 7.6.0
            Reporter: Pedro Santos
            Priority: Minor


Property resolver will always resolve a property expression to a map key, even 
if it isn't using the map[key] syntax. e.g.

class MyMap implements Map{
  public Object myProperty;
}

in this case PropertyResolver.getValue("map[myProperty]", this) will work fine, 
but any attempt to access "myProperty" using a property expression will fail 
since PropertyResolver.getValue("map.myProperty", this) will resolve 
"myProperty" to a map key.




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to