[
https://issues.apache.org/jira/browse/SYNCOPE-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13947740#comment-13947740
]
Guido Wimmel commented on SYNCOPE-487:
--------------------------------------
I have committed a basic implementation, please have a look at it.
The default Velocity tools are now accessible in notification templates via
their standard keys (e.g. $esc for the EscapeTool). Via configuration of the
ToolManager (see workflowContext.xml), this can be disabled. The ToolManager
looks for configuration files (e.g. "tools.xml") in the classpath, where
additional tools can be configured. This can also be changed by configuring the
ToolManager differently in the Spring context.
> make Velocity tools available in templates for notifications
> ------------------------------------------------------------
>
> Key: SYNCOPE-487
> URL: https://issues.apache.org/jira/browse/SYNCOPE-487
> Project: Syncope
> Issue Type: Improvement
> Components: core
> Affects Versions: 1.1.6, 1.2.0
> Reporter: Guido Wimmel
> Assignee: Guido Wimmel
> Priority: Minor
> Fix For: 1.1.7, 1.2.0
>
>
> As discussed on the dev@ mailing list [1], it could be useful to make the
> Velocity tools available in templates for notifications, e.g. to be able to
> URL-encode user names inside generated links.
> [1]
> http://syncope-dev.1063484.n5.nabble.com/Escaping-in-Velocity-templates-for-notifications-td5714981.html
--
This message was sent by Atlassian JIRA
(v6.2#6252)