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:25:20 UTC

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

     [ https://issues.apache.org/jira/browse/WICKET-5513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5513.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 7.0.0

> 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
>             Fix For: 7.0.0
>
>
> 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)