Wicket
  1. Wicket
  2. WICKET-4130

RenderedDynamicImageResource doesn't pass PageParameters to rendering code

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.5.2
    • Component/s: wicket
    • Labels:
      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.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Carl-Eric Menzel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development