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.