You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@apache.org> on 2006/11/05 20:09:21 UTC

[jira] Updated: (VELOCITY-406) Improved Syntax for Maps and Collections

     [ 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: velocity-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-dev-help@jakarta.apache.org