You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/02/21 14:19:22 UTC

[jira] [Created] (WICKET-5513) Remove IRedirectListener and rework RedirectPage to create bookmarkable urls

Martin Grigorov created WICKET-5513:
---------------------------------------

             Summary: Remove IRedirectListener and rework RedirectPage to create bookmarkable urls
                 Key: WICKET-5513
                 URL: https://issues.apache.org/jira/browse/WICKET-5513
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 7.0.0
            Reporter: Martin Grigorov
            Assignee: Martin Grigorov
            Priority: Minor


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



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)