[
https://issues.apache.org/jira/browse/WW-3835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-3835:
------------------------------
Fix Version/s: 6.7.1
(was: 6.7.0)
> use TemplateDirectiveModel instead of TemplateTransformModel in
> org.apache.struts2.views.freemarker.tags.TagModel.
> ------------------------------------------------------------------------------------------------------------------
>
> Key: WW-3835
> URL: https://issues.apache.org/jira/browse/WW-3835
> Project: Struts 2
> Issue Type: Improvement
> Reporter: Yanming Zhou
> Priority: Major
> Fix For: 6.7.1
>
>
> http://freemarker.sourceforge.net/docs/api/freemarker/template/TemplateTransformModel.html
> Objects that implement this interface can be used as user-defined directives
> (much like macros); you should rather use the newer TemplateDirectiveModel
> instead. Altough implementing output filters is more handy with this
> interface, this interface will be certainly deprecated as superfluous,
> starting from FreeMarker 2.4. But as far as the template engine is concerned,
> you can use both equivalently as a user-defined directive.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)