Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-4250

FreeMarker templates - Support .ftlh and .ftlx by default

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None

    Description

      At the moment, FreeMarker template extension supports only '.ftl'.
      FreeMarker supports two more default extensions. '.ftlh' and '.ftlx'.
      When using .ftlh extension, it is more convenient in most cases because each template does not have to add <#ftl output_format="HTML"> as '.ftlh' indicates its output format is "HTML".

      It would be nice to support both .ftlh and .ftlx additionally by default in these:

      • Webfiles should be able to include .ftlh and .ftlx
      • FreeMarker servlet mapping in web.xml for those two additionally
      • ...

      Somethings could be done in separate tickets (e.g, ARCHETYPE, ...).

      [1] https://freemarker.apache.org/docs/dgui_misc_autoescaping.html

      Attachments

        Issue Links

          Activity

            People

              productteam Product Management Team
              wko Woonsan Ko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: