Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 93337 invoked from network); 26 Jul 2009 11:42:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jul 2009 11:42:32 -0000 Received: (qmail 5106 invoked by uid 500); 26 Jul 2009 11:43:37 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 5064 invoked by uid 500); 26 Jul 2009 11:43:37 -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 5055 invoked by uid 99); 26 Jul 2009 11:43:37 -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 11:43:37 +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 11:43:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 13A82234C04C for ; Sun, 26 Jul 2009 04:43:15 -0700 (PDT) Message-ID: <751217401.1248608595079.JavaMail.jira@brutus> Date: Sun, 26 Jul 2009 04:43:15 -0700 (PDT) From: "Bob Schellink (JIRA)" To: click-dev@incubator.apache.org Subject: [jira] Resolved: (CLK-571) Deprecate Page method, getPageImports, in favor of getHeadElements In-Reply-To: <1231602573.1248564074839.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-571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bob Schellink resolved CLK-571. ------------------------------- Resolution: Fixed fixed in trunk > Deprecate Page method, getPageImports, in favor of getHeadElements > ------------------------------------------------------------------ > > Key: CLK-571 > URL: https://issues.apache.org/jira/browse/CLK-571 > Project: Click > Issue Type: Improvement > Components: core > Affects Versions: 2.1.0 RC1 > Reporter: Bob Schellink > Assignee: Bob Schellink > Fix For: 2.1.0 > > > getHeadElements negates the need to expose PageImports at the Page level. We should deprecate the methods set/getPageImports. > The only use case not covered by getHeadElements is when minimizing JavaScript/Css imports on a Page. Currently one can invoke PageImports#setInitialized so that the Controls imports won't be included. > We could instead add a boolean property on Page to provide similar functionality e.g: > private boolean includeControlHeadElements; -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.