You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Wouter de Vaal (JIRA)" <ji...@apache.org> on 2007/09/07 10:35:32 UTC

[jira] Resolved: (WICKET-690) BookmarkablePageLink renders incorrectly to homepage with page parameters with QueryStringUrlCodingStrategy

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

Wouter de Vaal resolved WICKET-690.
-----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.3.0-beta4)
                   1.3.0-beta3

Problem is gone when using beta3

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