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

RenderedDynamicImageResource doesn't pass PageParameters to rendering code

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.2
    • 1.5.2
    • wicket
    • None

    Description

      In 1.5, resources can no longer get request parameters by calling getParameters() but instead get an instance of Attributes. Unfortunately RenderedDynamicImageResponse hides this from its subclasses, it never gets passed on.

      I propose to create an additional render method that gets PageParameters in addition to Graphics2D. The default implementation would just call the old render method, so there are no compatibility issues. Additionally, the old method could be deprecated.

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              cmenzel Carl-Eric Menzel
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: