You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2014/07/08 22:00:05 UTC

[jira] [Updated] (WW-3835) use TemplateDirectiveModel instead of TemplateTransformModel in org.apache.struts2.views.freemarker.tags.TagModel.

     [ 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:     (was: 2.3.18)
                   2.5

> 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: zhouyanming
>             Fix For: 2.5
>
>
> 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
(v6.2#6252)