[ 
https://issues.apache.org/jira/browse/WICKET-2738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833489#action_12833489
 ] 

Vjacheslav Kanivetc commented on WICKET-2738:
---------------------------------------------

Yes, it works.
Your quick start code and in-project code generates <a 
href="../../../mail/folder/new">

However, the project generates <a href="mail/folder/new">. No idea why neither 
../.. nor context root is prepended to the URL...

> setResponsePage doesn't work with MixedParamUrlCodingStrategy
> -------------------------------------------------------------
>
>                 Key: WICKET-2738
>                 URL: https://issues.apache.org/jira/browse/WICKET-2738
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.6
>         Environment: Wicket 1.4.6 only
>            Reporter: Denis Souza
>             Fix For: 1.4.7
>
>         Attachments: myproject.zip
>
>
> When I call setResponsePage() on a page that uses MixedParamUrlCodingStrategy 
> the URL for the destination page is mixed with the URL from the current page.
> In my case, take the URL for a product such as:
> /app/product/1402
> when the user clicks the "Buy" button it adds the product to the shopping 
> cart and calls:
> setResponsePage(ShoppingCartPage.class)
> resulting in a redirect to:
> /app/product/checkout/shoppingcart
> when it should be:
> /app/checkout/shoppingcart
> Works fine in wicket 1.4.5

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to