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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment