freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FREEMARKER-18) JSP EL function and custom tag with the same name owrite each other
Date Wed, 23 Mar 2016 21:46:25 GMT
Daniel Dekany created FREEMARKER-18:
---------------------------------------

             Summary: JSP EL function and custom tag with the same name owrite each other
                 Key: FREEMARKER-18
                 URL: https://issues.apache.org/jira/browse/FREEMARKER-18
             Project: Apache Freemarker
          Issue Type: Bug
          Components: jsp
            Reporter: Daniel Dekany


If a tab library contains both a function and a custom tag with the same name, they will overwrite
each other. That one whose XML element in the TLD comes later wins. That's first and foremost
a backward compatibility problem, as before 2.3.22 the custom tag always won, because the
function was ignored. Starting with 2.3.22 it can happen that you get a function instead of
the custom tag, breaking an earlier working template. Also it would be good if we can support
both "aspect" on the same time, be implementing both the `TemplateMethodModelEx` and `TemplateDirectiveModel`
interfaces.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message