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

Remove IRedirectListener and rework RedirectPage to create bookmarkable urls

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.0.0-M1
    • 7.0.0-M1
    • wicket
    • None

    Description

      At the moment IRedirectListener is used only by o.a.w.Page and its #onRedirect() implementation is final.

      It is safe to remove this listener interface completely and use Component#urlFor() to create url to the page. This way the produced url will be nice/bookmarkable if there is an explicit #mountPage() for it in the application's #init() method.

      Discussion: http://markmail.org/message/mmkaaasdvutmusan

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: