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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.0.0-M5, 6.19.0
    • None
    • 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. callbackparameter.tgz
          19 kB
          Filipe Roque
        2. fix-WICKET-5759.patch
          15 kB
          Filipe Roque

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: