Velocity 1.4 does not support Iterable collections.
---------------------------------------------------

         Key: VELOCITY-443
         URL: http://issues.apache.org/jira/browse/VELOCITY-443
     Project: Velocity
        Type: Improvement

    Versions: 1.4    
 Environment: Java 5
    Reporter: Peter Lawrey
    Priority: Minor


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.

-- 
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]

Reply via email to