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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment