click-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bob Schellink (JIRA)" <j...@apache.org>
Subject [jira] Created: (CLK-571) Deprecate Page method, getPageImports, in favor of getHeadElements
Date Sat, 25 Jul 2009 23:21:14 GMT
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.


Mime
View raw message