[
https://issues.apache.org/jira/browse/VELOCITY-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674412#action_12674412
]
Byron Foster commented on VELOCITY-698:
---------------------------------------
I actually implemented this as #stop(parse) which I think is more obvious to
the user. Also, I converted the #stop command to a directive instead of an AST
node following the approach that if it doesn't have to be in the parser it
shouldn't be.
> If #stop is specified as #stop(template) then parsing only stops current
> template rendering
> -------------------------------------------------------------------------------------------
>
> Key: VELOCITY-698
> URL: https://issues.apache.org/jira/browse/VELOCITY-698
> Project: Velocity
> Issue Type: New Feature
> Components: Engine
> Affects Versions: 2.0
> Reporter: Byron Foster
>
> #stop(template) will only stop the current template, so if the template is
> called with a #parse command, then rendering will end within the given
> #parse, and resume within the calling template.
--
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]