You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Byron Foster (JIRA)" <de...@velocity.apache.org> on 2009/02/08 10:19:00 UTC
[jira] Created: (VELOCITY-690) Do not require block directive to
have parenthesis
Do not require block directive to have parenthesis
--------------------------------------------------
Key: VELOCITY-690
URL: https://issues.apache.org/jira/browse/VELOCITY-690
Project: Velocity
Issue Type: Improvement
Components: Engine
Affects Versions: 2.0
Reporter: Byron Foster
Block directives are currently required by the parser to contain parenthesis, which includes block macros. So
#@foo
#end
is not allowed, and neither are custom block directives. Removing this requirement makes the syntax consistent with line directives.
--
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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Closed: (VELOCITY-690) Do not require block directive to
have parenthesis
Posted by "Byron Foster (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Byron Foster closed VELOCITY-690.
---------------------------------
Resolution: Fixed
> Do not require block directive to have parenthesis
> --------------------------------------------------
>
> Key: VELOCITY-690
> URL: https://issues.apache.org/jira/browse/VELOCITY-690
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Affects Versions: 2.0
> Reporter: Byron Foster
>
> Block directives are currently required by the parser to contain parenthesis, which includes block macros. So
> #@foo
> #end
> is not allowed, and neither are custom block directives. Removing this requirement makes the syntax consistent with line directives.
--
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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Commented: (VELOCITY-690) Do not require block directive to
have parenthesis
Posted by "Byron Foster (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671576#action_12671576 ]
Byron Foster commented on VELOCITY-690:
---------------------------------------
This change also allows block macros to use brackets such as:
#{@foo}bar#end
> Do not require block directive to have parenthesis
> --------------------------------------------------
>
> Key: VELOCITY-690
> URL: https://issues.apache.org/jira/browse/VELOCITY-690
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Affects Versions: 2.0
> Reporter: Byron Foster
>
> Block directives are currently required by the parser to contain parenthesis, which includes block macros. So
> #@foo
> #end
> is not allowed, and neither are custom block directives. Removing this requirement makes the syntax consistent with line directives.
--
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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org