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

Redundant declaring of mount path twice when mounting UrlCodingStrategy

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-beta1
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
      None

      Description

      Currently in 1.3 mounting of a page with a UrlCodingStrategy is like this:

      mount("/item", new IndexedParamUrlCodingStrategy("/item", ItemViewPage.class));

      Here "/item" is repeated twice, which is unnecessary and it will not work if the strings are different.

      Nabble discussion: http://www.nabble.com/URL-when-navigating-away-from-a-bookmarkable-URL-tf3286244.html

        Attachments

          Activity

            People

            • Assignee:
              jcompagner Johan Compagner
              Reporter:
              ptrthomas Peter Thomas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: