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

StyleSheetReference doesn't take style/locale into account

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-beta1
    • 1.3.0-rc1
    • wicket
    • None
    • -

    Description

      StyleSheetReference (in essence PackagedResourceReference) doesn't take the style and locale into account as is common for resource loaders.

      Changing PackagedResourceReference line 102 from
      ResourceReference ref = new ResourceReference(referer, f);
      to
      ResourceReference ref = new ResourceReference(referer, f, getLocale(), getStyle());
      fixes this issue

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            medavid David
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: