Uploaded image for project: 'Click'
  1. Click
  2. CLK-568

Add ability to use templates with custom extensions

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • core
    • None

    Description

      A recurring question on the user list is the ability to map alternative extensions as Page class templates instead of the default ".htm".

      We could add a method ConfigService#isTemplate(String path), that can be invoked (at app startup) to check if a template is .htm/.jsp. Users can then override this single method to map alternative extensions.

      Attachments

        1. istemplate.patch
          7 kB
          Bob Schellink

        Activity

          People

            sabob Bob Schellink
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: