We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The aims are to support the freemarker macro feature in order to use the freemarker inline script like
<#import "simple_macro.ftl" as myMacro><@myMacro.p >Hello world!</@myMacro.p>
with simple_macro.ftl deploying into a templates folder in the camunda classpath
simple_macro.ftl
templates
<#macro p><p><#nested></p></#macro>
Using the external resource must also work :
Using freemarker/test.ftl (in a different folder than templates) with the following test.ftl content :
freemarker/test.ftl
test.ftl
<#import "simple_macro.ftl" as simple> <@simple.p>it works</@simple.p>
A related PR (tested with Camunda 7.20 is almost ready)
The text was updated successfully, but these errors were encountered:
feat: add templateDir to allow reuse
d4239a5
Templates must be in a /templates dir, in the Camunda classpath. See the README.md for examples usages. Close camunda#34
Successfully merging a pull request may close this issue.
The aims are to support the freemarker macro feature in order to use the freemarker inline script like
with
simple_macro.ftl
deploying into atemplates
folder in the camunda classpathUsing the external resource must also work :
Using
freemarker/test.ftl
(in a different folder thantemplates
) with the followingtest.ftl
content :A related PR (tested with Camunda 7.20 is almost ready)
The text was updated successfully, but these errors were encountered: