$foreach.isLast() is always false
---------------------------------

                 Key: VELOCITY-763
                 URL: https://issues.apache.org/jira/browse/VELOCITY-763
             Project: Velocity
          Issue Type: Bug
          Components: Engine
    Affects Versions: 1.7-beta1
            Reporter: Sergiy Kovalchuk


$foreach.isLast() is not detecting last element.

Test case:
#foreach($i in [1..3])
    $foreach.isLast()<br/>
#end

Result:
false
false
false

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to