You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/10/29 19:50:40 UTC

[jira] Updated: (WW-2257) FreemarkerManager.getConfiguration(ServletContext) should be overridable (non-final)

     [ https://issues.apache.org/struts/browse/WW-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-2257:
---------------------------

            Flags: [Patch]
    Fix Version/s:     (was: 2.1.3)
                   2.1.1

> FreemarkerManager.getConfiguration(ServletContext) should be overridable (non-final)
> ------------------------------------------------------------------------------------
>
>                 Key: WW-2257
>                 URL: https://issues.apache.org/struts/browse/WW-2257
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Views
>    Affects Versions: 2.0.9
>            Reporter: Christian Nelson
>             Fix For: 2.1.1
>
>
> I'm working on a web application for an ASP and each of our clients can override the freemarker templates which make up their "site".  We've jumped through some serious hoops to make this work with Struts2 and would very much like to simplify our solution.  By removing the final designation on org.apache.struts2.views.freemarker.FreemarkerManager.getConfiguration(javax.servlet.ServletContext servletContext) we would be able to return a different freemarker Configuration for each client.
> Please consider this change.  It won't break backwards compatibility and would allow for an elegant solution to a problem which many ASP-style applications must address.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.