Description
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.
Attachments
Attachments
Issue Links
- is depended upon by
-
VELOCITY-531 Some user feedback / wishes from the O'Reilly blog
-
- Resolved
-