PageParameters construced with keyValuePairs does not handle array values
-------------------------------------------------------------------------

                 Key: WICKET-2172
                 URL: https://issues.apache.org/jira/browse/WICKET-2172
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4-RC2
            Reporter: Brad Fritz
            Priority: Minor


The PageParameters constructor that takes a "keyValuePairs" argument does
not convert repeated keys into an array of values.  For example:

{code}
// specify three comma delimited values for the "a" parameters
PageParameters parameters = new PageParameters("a=1,a=2,a=3");
String[] a = parameters.getStringArray("a");
assertEquals(3, a.length); // fails because a.length == 1
{code}

Issue first described on the user's list:
http://www.nabble.com/PageParameters-with-String-array-question-to22540294.html

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