Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4471

Generic registry of javascript/css resource references

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.0.0-beta1
    • 6.0.0
    • wicket
    • None

    Description

      It would be nice if JavaScriptLibrarySettings had a generic mechanism to register javascript/css resource references (maybe using something like MetaDataKeys).

      This way, extension/third-party components (ModalWindow, DateTimeField, etc.) could register their resources, or just lookup for substitute resource references for their own scripts/stylesheets.

      This would allow some optimizations, such as minification/compression and joining many files into one, and hosting static files in CDNs.

      Attachments

        Issue Links

          Activity

            People

              papegaaij Emond Papegaaij
              ronaldtm Ronald Tetsuo Miura
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: