it could always only contain strings, since it is added to the url. now you might have to call .tostring() on your objects youself...
-igor On Mon, Feb 25, 2008 at 8:36 AM, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote: > Guys, > > I'm migrating to Wicket 1.3.x but my application is raising the following > exception > > java.lang.IllegalArgumentException: PageParameters can only contain String > or String[] > at org.apache.wicket.request.target.coding.WebRequestEncoder.addValue( > WebRequestEncoder.java:71) > at > > org.apache.wicket.request.target.coding.QueryStringUrlCodingStrategy.appendParameters > (QueryStringUrlCodingStrategy.java:139) > at > > org.apache.wicket.request.target.coding.BookmarkablePageRequestTargetUrlCodingStrategy.encode > (BookmarkablePageRequestTargetUrlCodingStrategy.java:135) > at > > org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.pathForTarget > (WebRequestCodingStrategy.java:459) > at org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.encode( > WebRequestCodingStrategy.java:236) > at > > org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond > (BookmarkablePageRequestTarget.java:224) > at org.apache.wicket.request.AbstractRequestCycleProcessor.respond( > AbstractRequestCycleProcessor.java:103) > at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java > :1172) > > Is the PageParameters contract changed to contains only String as values?! > Any workaround to have to change all my PageParameters composition? > > Thank you, > > / Paolo > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]