You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Gabriel Bucher (JIRA)" <ji...@apache.org> on 2010/09/30 07:56:32 UTC

[jira] Created: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

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


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.


[jira] Issue Comment Edited: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Gabriel Bucher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919147#action_12919147 ] 

Gabriel Bucher edited comment on WICKET-3086 at 10/7/10 11:51 PM:
------------------------------------------------------------------

some more examples where the setResponsePage(..) / redirect fails:
- http://wicketstuff.org/wicket/ajax/links  (the last 2)
- http://localhost:8080/wicket-examples/ajax/upload  (Ajax Submit)
- http://localhost:8080/wicket-examples/ajax/todo-list  (Ajax Back link)

      was (Author: gabriel.bucher):
    some more examples where the setResponsePage fails:
- http://wicketstuff.org/wicket/ajax/links  (the last 2)
- http://localhost:8080/wicket-examples/ajax/upload  (Ajax Submit)
- http://localhost:8080/wicket-examples/ajax/todo-list  (Ajax Back link)
  
> 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
>         Attachments: 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.


[jira] Updated: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Gabriel Bucher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Bucher updated WICKET-3086:
-----------------------------------

    Attachment: quickstart.tar.gz

> 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
>         Attachments: 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.


[jira] Commented: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12920823#action_12920823 ] 

Hudson commented on WICKET-3086:
--------------------------------

Integrated in Apache Wicket 1.5.x #397 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/397/])
    

> 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: Igor Vaynberg
>         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.


[jira] Commented: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921011#action_12921011 ] 

Hudson commented on WICKET-3086:
--------------------------------

Integrated in Apache Wicket 1.5.x #400 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/400/])
    

> 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: Igor Vaynberg
>             Fix For: 1.5-M3
>
>         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.


[jira] Updated: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Gabriel Bucher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabriel Bucher updated WICKET-3086:
-----------------------------------

    Attachment: 3086.patch

please review attached patch.

used for verification quickstart, wicket-example links and 'mvn test'

> 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
>         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.


[jira] Issue Comment Edited: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Gabriel Bucher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919147#action_12919147 ] 

Gabriel Bucher edited comment on WICKET-3086 at 10/7/10 11:51 PM:
------------------------------------------------------------------

some more examples where the setResponsePage(..) / redirect fails:
- http://wicketstuff.org/wicket/ajax/links  (the last 2)
- http://wicketstuff.org/wicket/ajax/upload  (Ajax Submit)
- http://wicketstuff.org/wicket/ajax/todo-list  (Ajax Back link)

      was (Author: gabriel.bucher):
    some more examples where the setResponsePage(..) / redirect fails:
- http://wicketstuff.org/wicket/ajax/links  (the last 2)
- http://localhost:8080/wicket-examples/ajax/upload  (Ajax Submit)
- http://localhost:8080/wicket-examples/ajax/todo-list  (Ajax Back link)
  
> 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
>         Attachments: 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.


[jira] Reopened: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reopened WICKET-3086:
-----------------------------------


working on a cleaner patch

> 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: Igor Vaynberg
>         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.


[jira] Commented: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921246#action_12921246 ] 

Hudson commented on WICKET-3086:
--------------------------------

Integrated in Apache Wicket 1.5.x #405 (See [https://hudson.apache.org/hudson/job/Apache%20Wicket%201.5.x/405/])
    

> 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: Igor Vaynberg
>             Fix For: 1.5-M3
>
>         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.


[jira] Commented: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Gabriel Bucher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919147#action_12919147 ] 

Gabriel Bucher commented on WICKET-3086:
----------------------------------------

some more examples where the setResponsePage fails:
- http://wicketstuff.org/wicket/ajax/links  (the last 2)
- http://localhost:8080/wicket-examples/ajax/upload  (Ajax Submit)
- http://localhost:8080/wicket-examples/ajax/todo-list  (Ajax Back link)

> 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
>         Attachments: 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.


[jira] Commented: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Gabriel Bucher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12921806#action_12921806 ] 

Gabriel Bucher commented on WICKET-3086:
----------------------------------------

thanks Peter and Igor... works perfect.

> 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: Igor Vaynberg
>             Fix For: 1.5-M3
>
>         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.


[jira] Resolved: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-3086.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M3

> 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: Igor Vaynberg
>             Fix For: 1.5-M3
>
>         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.


[jira] Assigned: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-3086:
-------------------------------------

    Assignee: Igor Vaynberg  (was: Peter Ertl)

> 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: Igor Vaynberg
>         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.


[jira] Resolved: (WICKET-3086) AjaxLink.onClick() -> setResponsePage(...) redirects to wrong url

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ 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.