You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (JIRA)" <ji...@apache.org> on 2010/10/14 00:58:33 UTC
[jira] Resolved: (WICKET-3086) AjaxLink.onClick() ->
setResponsePage(...) redirects to wrong url
[ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Ertl resolved WICKET-3086.
--------------------------------
Resolution: Fixed
Assignee: Peter Ertl
Fixed in trunk.
Please verify!
Thanks Gabriel :-)
> AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url
> -----------------------------------------------------------------
>
> Key: WICKET-3086
> URL: https://issues.apache.org/jira/browse/WICKET-3086
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.5-M2.1
> Reporter: Gabriel Bucher
> Assignee: Peter Ertl
> Attachments: 3086.patch, quickstart.tar.gz
>
>
> see attached quickstart.tar.gz (wicket 1.5-SNAPSHOT)
> quickstart contains 2 test pages (Test1Page and Test2Page) which contains a AjaxLink which simple sets the response page in its onClick method to the ResultPage.
> Test1Page's url is: http://localhost:8080/wicket/bookmarkable/com.mycompany.Test1Page
> which results in after clicking on the ajax link: http://localhost:8080/wicket/bookmarkable/bookmarkable/com.mycompany.ResultPage
> Test2Page is mounted and it's url is: http://localhost:8080/test2
> which results in after clicking on the ajax link: http://localhost:8080/bookmarkable/com.mycompany.ResultPage
> the WebPageRenderer.redirectTo(..) tries to create a relative url... which will be rendered related to the current request...
> for both above cases the current request is e.g. http://localhost:8080/wicket/page?6-1.IBehaviorListener.0-ajaxLink
> in the WebPageRenderer.redirectTo(..) to create the
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.