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

AbstractResourceAggregatingHeaderResponse forgets some information about references

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.3
    • 1.5.4, 6.0.0-beta1
    • wicket
    • None

    Description

      Seen in Wicket 1.5.3 and SVN r1199294. AbstractResourceAggregatingHeaderResponse.java

      public void renderJavaScriptReference(String url, String id, boolean defer)

      { topLevelReferences.add(new ResourceReferenceAndStringData(null, null, url, null, ResourceType.JS, defer, null, null)); }

      forgets the id.

      public void renderCSSReference(ResourceReference reference, PageParameters pageParameters,
      String media, String condition)

      { topLevelReferences.add(new ResourceReferenceAndStringData(reference, null, null, media, ResourceType.CSS, false, null, condition)); }

      forgets the page parameters.

      I think a quickstart should not be necessary.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            andi5 Andreas Köhler
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: