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

Url to the home page is not correct when the current base url has only one segment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-M3
    • 1.5-RC1
    • wicket
    • None

    Description

      The link "go back" in all Ajax examples in wicket-examples is not correct.
      In details:
      1) current base url looks like : autocomplete?0 (i.e. one segment + one query parameter)
      2) "go back" points to the application home page (Index.class)
      3) RequestCycle.mapUrlFor(IRequestHandler) creates Url("") for the home page
      4) UrlRenderer.renderUrl(homePageUrl) incorrectly returns "" instead of "." for this input

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              mgrigorov Martin Tzvetanov Grigorov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: