Claude Brisson created VELOCITY-898:
---------------------------------------
Summary: Implement default values in formal references
Key: VELOCITY-898
URL: https://issues.apache.org/jira/browse/VELOCITY-898
Project: Velocity
Issue Type: Improvement
Components: Engine
Affects Versions: 2.1.x
Reporter: Claude Brisson
Assignee: Claude Brisson
We should take profit of the formal reference syntax to implement default
values:
{{ ${foo|"bar"}}}
It could even be repeated, or nested...
{{ ${foo|$bar|"baz"}}}
{{ ${foo|${bar|"baz}}}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]