Mutiple window support with QueryStringUrlCodingStrategy cause bad url 
-----------------------------------------------------------------------

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

Reply via email to