]
Cristiano Nicolai updated JBPM-3064:
------------------------------------
Attachment: 0006-Template-loading-refactoring.patch
patch
Use TemplateLoader to load ftl templates
----------------------------------------
Key: JBPM-3064
URL:
https://issues.jboss.org/browse/JBPM-3064
Project: jBPM
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Console
Affects Versions: jBPM 5.0
Environment: JBossAS 5.1
Reporter: Cristiano Nicolai
Assignee: Kris Verlaenen
Labels: jBPM5, jbpm-console
Attachments: 0006-Template-loading-refactoring.patch
Freemarker provides a mechanism to load templates from different sources named Template
Loaders. Basically can be used URLTemplateLoader and ClassTemplateLoader to achieve the
same behaviour provided in AbstractFormDispatcher but it gives an important feature to
make possible to import different templates. For example:
<#import "common_task.ftl" as common/>
<@common.tasktemplate/>
This feature improve template reusability and use of generic macros.
Some other features can be achieved as template caching.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: