Click
  1. Click
  2. CLK-501

Add first class support for HTML Head resources such as Javascript and CSS

    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

      Currently Click supports HTML imports by overriding the method #getHtmlImports.

      This method is string based which makes it difficult to support advanced features such as templating, conditional imports, resource versioning etc.

      This feature request proposes to introduce first class HTML header resource classes including Javascript, JavascriptImport, CssImport and Css.

      Further a new method should be added to the Control interface: 'public List getHtmlHeaders' which returns a list of the Page or Control's HTML HEAD entries.

      This makes it possible to modify the Javascript and CSS imports without overriding a Control.

        Activity

        No work has yet been logged on this 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