Click
  1. Click
  2. CLK-568

Add ability to use templates with custom extensions

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0
    • Component/s: core
    • Labels:
      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.

      1. istemplate.patch
        7 kB
        Bob Schellink

        Activity

        Bob Schellink made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Bob Schellink added a comment -

        fixed in trunk

        Show
        Bob Schellink added a comment - fixed in trunk
        Bob Schellink made changes -
        Fix Version/s 2.1.0 [ 12313730 ]
        Hide
        Malcolm Edgar added a comment -

        +1 looks good

        Show
        Malcolm Edgar added a comment - +1 looks good
        Bob Schellink made changes -
        Field Original Value New Value
        Attachment istemplate.patch [ 12413703 ]
        Hide
        Bob Schellink added a comment -

        Attached is a patch for this issue. It is heavily commented, but only about 6 lines of code to implement.

        Show
        Bob Schellink added a comment - Attached is a patch for this issue. It is heavily commented, but only about 6 lines of code to implement.
        Bob Schellink created issue -

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development