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

HeaderResponseContainerFilteringHeaderResponse does not override enough methods

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.3
    • 1.5.4
    • wicket
    • None

    Description

      Seen on Wicket 1.5.3 and I think it is still there in SVN.

      Major because users might be trapped thinking that their Javascript is at the bottom but it is not, having weird consequences.

      Attached is a quickstart. It sets up a header response decorator with a header response sending javascript to the bottom which is optionally wrapped by a simple implementation of an aggregating header response. The wrapper though uses a full-arguments method to render javascript which is not fetched by the other response header. So the javascript ends up in the html head.

      It should suffice to override the remaining four (js/css, resource ref/url) render methods to fix this.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              andi5 Andreas Köhler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: