[MAGNOLIA-3382] Support for enums in Freemarker templates Created: 12/Nov/10 Updated: 20/Feb/15 Resolved: 12/Nov/10 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core, freemarker |
| Affects Version/s: | None |
| Fix Version/s: | 4.4 |
| Type: | New Feature | Priority: | Major |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Patch included: |
Yes
|
| Acceptance criteria: |
Empty
|
| Description |
|
Here's a simple patch to allow exposing enums in templates. Ref: http://freemarker.sourceforge.net/docs/pgui_misc_beanwrapper.html#jdk_15_enums |