[ 
https://issues.apache.org/jira/browse/WICKET-690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg updated WICKET-690:
---------------------------------

    Fix Version/s: 1.3.0-beta4
         Assignee: Alastair Maw

> BookmarkablePageLink renders incorrectly to homepage with page parameters 
> with QueryStringUrlCodingStrategy
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-690
>                 URL: https://issues.apache.org/jira/browse/WICKET-690
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta1
>            Reporter: Wouter de Vaal
>            Assignee: Alastair Maw
>             Fix For: 1.3.0-beta4
>
>
> I'm writing a BookmarkablePageLink using parameters and the 
> QueryStringUrlCodingStrategy like this:
>                               PageParameters params = new PageParameters();
>                               params.add("y", 
> Integer.toString(cal.get(Calendar.YEAR)));
>                               params.add("m", 
> Integer.toString(cal.get(Calendar.MONTH) + 1));
>                               BookmarkablePageLink link = new 
> BookmarkablePageLink("link", Home.class, params);
> This renders nicely when used on the homepage as:
> /?y=2007&m=6
> but when this is used on a page other than the homepage, the current page 
> gets prepended like:
> /page?y=2007&m=6 
> instead of the above correct link

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