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

AjaxRequestAttributes extra parameters aren't properly handled in getCallbackFunction()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0-M5, 6.19.0
    • Component/s: None
    • Labels:
      None

      Description

      extra parameters of an Ajax behaviour can be accessed by getRequest().getRequestParameters().getParameterValue(key)

      but if one uses getCallbackFunction() of an AbstractDefaultAjaxBehavior, these parameters get screwed and can no longer be accessed in the same manner.

      the problem seems to be the merge in attrs.ep = Wicket.merge(attrs.ep, params);

        Attachments

        1. fix-WICKET-5759.patch
          15 kB
          Filipe Roque
        2. callbackparameter.tgz
          19 kB
          Filipe Roque

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              froque Filipe Roque
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: