On 2/16/07, Janos Cserep <[EMAIL PROTECTED]> wrote:
> Is anyone using PortletApplicaton with 1.2.4? I'm getting the following
> exception:
>
> java.lang.UnsupportedOperationException
>         at java.util.Collections$1.remove(Collections.java:1012)
>         at
> wicket.protocol.http.portlet.PortletRequestCodingStrategy.decode
> (PortletRequestCodingStrategy.java:119)
>         at
> wicket.Request.getRequestParameters(Request.java:163)
>         at wicket.RequestCycle.step(RequestCycle.java:992)
>         at wicket.RequestCycle.steps(RequestCycle.java :1084)
>         at wicket.RequestCycle.request(RequestCycle.java:454)
>         at
> wicket.protocol.http.portlet.WicketPortlet.processAction(WicketPortlet.java:198)
>
>
> Looking at the source code the PortletRequestCodingStrategy is trying to
> remove values from the request's parameter map - which is immutable
> according  to the JSR 168 specs...

Ah. In fact WicketPortletRequest should return a copy of the parameter
map like ServletWebRequest does.

> Is this fixed in development (1.3, 2.0) versions? I need to know asap...:)

I just fixed this for 1.3 and 2.0. And I'm starting a vote to put it in 1.2.x

Eelco

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to