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

HeaderResponse.renderCSSReference does not render context path relative url, but wicket filter url-pattern relative url

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC7
    • Fix Version/s: 1.5.1
    • Component/s: wicket
    • Labels:
      None

      Description

      In an application with a wicket filter url-pattern different than /*, if you use HeaderResponse.renderCSSReference(String url), where url is a context-path-relative url (css/main.css, for example), the generated css link is not context relative, but wicket url-pattern relative.

        Attachments

        1. relative-url.patch
          4 kB
          Peter Ertl
        2. quickstart.zip
          20 kB
          Matteo Sotil

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              msotil Matteo Sotil
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: