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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5-RC7
    • 1.5.1
    • wicket
    • 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. quickstart.zip
          20 kB
          Matteo Sotil
        2. relative-url.patch
          4 kB
          Peter Ertl

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: