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

Improve MixedParamUrlCodingStrategy, introduce Hybrid

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.1
    • 1.4.2, 1.5-M1
    • wicket
    • None

    Description

      The MixedParamUrlCodingStrategy can be improved.

      The current form has the following shortcomings:

      • it just fails when something is added to the URL, solution: add the option to ignore the added parts (in fact I made this the default)
      • when something is added to the URL, the message is not very clear, solution: rewrite message and add more information
      • it does not accept non-String parameter values, solution: use String.valueOf(paramValue)

      In addition the patch adds a Hybrid variant.

      Attachments

        Activity

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

          People

            ivaynberg Igor Vaynberg
            erikvanoosten Erik van Oosten
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment