Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-443

Velocity 1.4 does not support Iterable collections.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4
    • 1.6
    • None
    • None
    • Java 5

    Description

      In the new for loop in Java 5 e.g.

      for(Object obj: iterable)

      the collection iterated only needs to be of type Iterable

      However, In Velocity a foreach loop must be either a Collection or a Map but cannot be just an Iterable.

      Suggestion, support Iterable containers.

      Attachments

        Activity

          People

            nbubna Nathan Bubna
            peter_lawrey Peter Lawrey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: