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

Juergen Donnerstag commented on WICKET-2738:
--------------------------------------------

>> Your quick start code and in-project code generates <a 
>> href="../../../mail/folder/new"> - not too pretty but acceptable :)
You described the problem, I anticpated an implemented, but that implementation 
is different than  yours => that why we ask for quickstarts. 

>>However, the project generates <a href="mail/folder/new">. No idea why 
>>neither ../.. nor context root is prepended to the URL..
context: Change it via setContextPath("/") in Start.java 
why should it prepend ../..??


> 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