1.0-rc5 released

1 view
Skip to first unread message

philhsmith

unread,
Mar 26, 2009, 11:34:02 PM3/26/09
to Auto-android
Fixes issue 8 & includes a new minor feature, both thanks to
mike.quon.

The feature lets the 'view shorthand' path syntax to look inside any
Maps that may be exposed on the object. From the thread:

The syntax is what you might expect, given the previous form:
foo.bar.map.key will produce something like
getFoo().getBar().getMap().get("key"), assuming getMap() returns a
java.util.Map.

If "key" or "getKey" happens to be a legal getter, it will be called
instead to preserve back-compat (even if it is a Map.) Finally, if
your key has a period in it, use a double period to escape:
map.key..with..periods => getMap().get("key.with.periods")

Thanks, mike!
Reply all
Reply to author
Forward
0 new messages