[MAGNOLIA-1469] Make Freemarker more configurable through admininterface Created: 18/Apr/07 Updated: 04/Nov/15 Resolved: 04/Nov/15 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | freemarker |
| Affects Version/s: | 3.1 M1 |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | freemarker | ||
| Σ Remaining Estimate: | Not Specified | Remaining Estimate: | Not Specified |
| Σ Time Spent: | Not Specified | Time Spent: | Not Specified |
| Σ Original Estimate: | Not Specified | Original Estimate: | Not Specified |
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| Sub-Tasks: |
|
||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||
| Description |
|
The current FreemarkerHelper class has an hardcoded configuration. It would be useful to have at least some parameters configured through the repository (TemplateExceptionHandler, TemplateLoaders, encoding, sharedVariables, cache?, ...) |
| Comments |
| Comment by Magnolia International [ 25/Nov/08 ] |
|
This was started, template loaders are now conflgurable |
| Comment by Magnolia International [ 26/Jan/09 ] |
|
Template loaders ( |
| Comment by Magnolia International [ 19/Mar/10 ] |
|
Shared variables are now also configurable, since |
| Comment by Magnolia International [ 06/Dec/13 ] |
|
AFAICT, what's left to be configured is encoding (we currently have both setDefaultEncoding("UTF8") and setURLEscapingCharset("UTF8") hardcoded. In light of the comment left by fgiust on |
| Comment by Michael Mühlebach [ 04/Nov/15 ] |
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes. |