click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <>
Subject [jira] Updated: (CLK-568) Add ability to use templates with custom extensions
Date Thu, 16 Jul 2009 16:33:15 GMT


Bob Schellink updated CLK-568:

    Attachment: istemplate.patch

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

> Add ability to use templates with custom extensions
> ---------------------------------------------------
>                 Key: CLK-568
>                 URL:
>             Project: Click
>          Issue Type: New Feature
>          Components: core
>            Reporter: Bob Schellink
>            Assignee: Bob Schellink
>         Attachments: istemplate.patch
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message