struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-3835) use TemplateDirectiveModel instead of TemplateTransformModel in org.apache.struts2.views.freemarker.tags.TagModel.
Date Tue, 05 Jun 2012 05:39:23 GMT

     [ 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: 2.3.x
    
> 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.3.x
>
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message