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

renderCSSReference doesn't work with mountPage("/")

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-RC5.1
    • 1.5-RC6
    • wicket
    • Windows. Java 6. Jetty.

    Description

      response.renderCSSReference(new PackageResourceReference(BasePage.class, "BasePage.css"));

      will correctly render the css reference if the page is not mounted or if it is mounted to a location other than "/". However if I mount the page to "/" using WebApplication.mountPage() then the css reference doesn't work.

      Attachments

        1. wicketbug3897.zip
          23 kB
          Ken Stevens

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            fil512 Ken Stevens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: