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/05/06 19:32:15 UTC

[jira] Updated: (WICKET-539) QueryStringUrlCodingStrategy does not handle multi-valued parameters

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

Jean-Baptiste Quenot updated WICKET-539:
----------------------------------------

    Summary: QueryStringUrlCodingStrategy does not handle multi-valued parameters  (was: Mutiple window support with QueryStringUrlCodingStrategy cause bad url )

> QueryStringUrlCodingStrategy does not handle multi-valued parameters
> --------------------------------------------------------------------
>
>                 Key: WICKET-539
>                 URL: https://issues.apache.org/jira/browse/WICKET-539
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.2.6
>         Environment:  linux 2.6.x
>  tomcat5, 6
>  jdk6
>            Reporter: Ingram Chen
>         Assigned To: Jean-Baptiste Quenot
>         Attachments: quickstart.tar.gz
>
>
> When using QueryStringUrlCodingStrategy with multiple window support, for example: 
> mount("/mountPath", new QueryStringUrlCodingStrategy("/mountPath", Other.class));
> and use BookmarkablePageLink:
> public Index() {
> 	add(new BookmarkablePageLink("link", Other.class).setParameter("foo", 123L));
> }
> ideally the url should be:
> /context/app/mountPath?foo=123
> if open the link in new window, in 1.2.5, the url is
> /context/app/mountPath?foo=123&wicket:pageMapName=wicket-0
> however, in 1.2.6. the url become:
> /context/app/mountPath?foo=%5BLjava.lang.String%3B%406f0241&wicket:pageMapName=wicket-0

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.