You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jean-Baptiste Quenot (JIRA)" <ji...@apache.org> on 2007/06/25 09:44:26 UTC
[jira] Commented: (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:comment-tabpanel#action_12507795 ]
Jean-Baptiste Quenot commented on WICKET-690:
---------------------------------------------
Can you please copy/paste the generated HTML fragment for the link? There is a good chance that a ../ is missing.
> 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
>
> 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.