[
https://issues.apache.org/jira/browse/WICKET-2738?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832983#action_12832983
]
Denis Souza commented on WICKET-2738:
-------------------------------------
Tested with the latest snapshot and it's fixed.
Thanks
> 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
>
> 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.