Support for #break directive inside foreach loops (includes a patch)
--------------------------------------------------------------------
Key: VELOCITY-612
URL: https://issues.apache.org/jira/browse/VELOCITY-612
Project: Velocity
Issue Type: Improvement
Components: Engine
Reporter: Jarkko Viinamäki
Priority: Minor
Fix For: 1.6
Here's a small patch that adds support for #break directive that can be used to
break foreach-loops.
Catch: #break does not verify that it is inside a foreach loop. If it is not, a
RuntimeException of type BreakException is thrown during rendering and not
caught properly. Testcases are also quite laughable but the directive seems to
work OK.
--
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]