You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Christian Nelson (JIRA)" <ji...@apache.org> on 2007/10/16 23:52:39 UTC

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

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


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.


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

Posted by "Don Brown (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Don Brown resolved WW-2257.
---------------------------

    Resolution: Fixed
      Assignee: Don Brown

Agreed, fixed.

> 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: Plugin - Tags
>    Affects Versions: 2.0.9
>            Reporter: Christian Nelson
>            Assignee: Don Brown
>             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.


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

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ 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.