Interesting. I don't have a preference.
I don't like breaking existing applications, and I like adhering to common usage or specs. Martijn On Wed, Sep 21, 2016 at 2:30 AM, Pedro Santos <[email protected]> wrote: > Hi devs, > > currently we can't have expression properties for map keys containing the > '[' character, even though it's a valid key character. My proposal is to > change our current string literal to a quoted one. So the expression > *map[myKey]* would no longer be valid in benefit of *map["myKey"]* or > *map['myKey']*. Any quote and escape character would need to be escaped, > and I suggest us to use the same escape logic from the Unified Expression > Language [1] and the original OGNL[2]. > > 1 - http://docs.oracle.com/javaee/5/tutorial/doc/bnahq.html#bnahu > 2 - http://commons.apache.org/proper/commons-ognl/language-guide.html > > cheers > > Pedro Santos -- Become a Wicket expert, learn from the best: http://wicketinaction.com
