Velocity
  1. Velocity
  2. VELOCITY-406

Improved Syntax for Maps and Collections

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Engine
    • Labels:
      None

      Description

      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")".

        Activity

        Jörg Gottschling created issue -
        Henning Schmiedehausen made changes -
        Field Original Value New Value
        Component/s Engine [ 12311337 ]
        Fix Version/s 1.6 [ 12310290 ]
        Component/s Source [ 12310214 ]
        Nathan Bubna made changes -
        Fix Version/s 1.6 [ 12310290 ]
        Byron Foster made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Nathan Bubna made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Byron Foster made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12330484 ] Default workflow, editable Closed status [ 12551935 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12551935 ] jira [ 12552706 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Jörg Gottschling
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development