struts-issues mailing list archives

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

             Summary: 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


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