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

Improve MixedParamUrlCodingStrategy, introduce Hybrid

    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

        1. WICKET-2439.patch
          13 kB
          Erik van Oosten

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: