[
https://issues.apache.org/jira/browse/VELOCITY-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12677542#action_12677542
]
Byron Foster commented on VELOCITY-706:
---------------------------------------
Agreed, I think it would be pretty straight forward to add an entire velocity
expression as a parameter so something like this would also be possible:
$myref.mymethod($foo + $bar > $foobar)
Of course mymethod would have to take boolean.
> Method arguments should allow an evaluation context
> ---------------------------------------------------
>
> Key: VELOCITY-706
> URL: https://issues.apache.org/jira/browse/VELOCITY-706
> Project: Velocity
> Issue Type: Improvement
> Components: Engine
> Affects Versions: 2.0
> Reporter: Claude Brisson
>
> It should be possible to write things like:
> $myref.mymethod( $foo + $bar )
> that is, to give method arguments an evaluation context
--
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]