[ http://issues.apache.org/jira/browse/VELOCITY-406?page=all ]
Henning Schmiedehausen updated VELOCITY-406:
--------------------------------------------
Component/s: Engine
(was: Source)
Fix Version/s: 1.6
Will think about Maps slices for 1.6. Iterable is supported if you use a custom
Uberspect (see whiteboard/henning/jdk15). Groovy might have stolen the
"horrible map syntax" from us, so there is nothing we can do here... :-)
> Improved Syntax for Maps and Collections
> ----------------------------------------
>
> Key: VELOCITY-406
> URL: http://issues.apache.org/jira/browse/VELOCITY-406
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Reporter: Jörg Gottschling
> Priority: Minor
> Fix For: 1.6
>
>
> I would like to see some syntatic sugar for Maps and Collections and perhaps
> other Objects too.
> (I have read that there will be a syntax for map literals in 1.5, that's a
> first step.)
> I want to have something like in groovy:
> http://groovy.codehaus.org/Collections
> Scroll down to "Slicing with the subscript operator".
> PS: Please do never implement this terrible confusing groovy map bean syntax,
> where "map.foo" ist equivalent to "map.get("foo")".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]