Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 30961 invoked from network); 26 Jul 2009 15:00:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jul 2009 15:00:33 -0000 Received: (qmail 15525 invoked by uid 500); 26 Jul 2009 15:01:38 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 15486 invoked by uid 500); 26 Jul 2009 15:01:38 -0000 Mailing-List: contact click-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-dev@incubator.apache.org Received: (qmail 15478 invoked by uid 99); 26 Jul 2009 15:01:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jul 2009 15:01:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jul 2009 15:01:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6B340234C004 for ; Sun, 26 Jul 2009 08:01:16 -0700 (PDT) Message-ID: <1490068928.1248620476429.JavaMail.jira@brutus> Date: Sun, 26 Jul 2009 08:01:16 -0700 (PDT) From: "Bob Schellink (JIRA)" To: click-dev@incubator.apache.org Subject: [jira] Resolved: (CLK-568) Add ability to use templates with custom extensions In-Reply-To: <1957600703.1247761874980.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLK-568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bob Schellink resolved CLK-568. ------------------------------- Resolution: Fixed fixed in trunk > Add ability to use templates with custom extensions > --------------------------------------------------- > > Key: CLK-568 > URL: https://issues.apache.org/jira/browse/CLK-568 > Project: Click > Issue Type: New Feature > Components: core > Reporter: Bob Schellink > Assignee: Bob Schellink > Fix For: 2.1.0 > > 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.