I am using JSF 1.2, Seam 2.2.2, RichFaces 3.3.3 and PrettyFaces 3.3.3.
I am trying to upload a file using rich:fileUpload, but a ClassCastException is thrown at PrettyFaces. Debugging that code, I got org.ajax4jsf.request.MultipartRequest.getParameterMap() (line 666)
IMHO, I think that params.put(name, vp.getValue()); should put a String instead of a String to params Map.
Does anyone have a suggestion? It would be greatly appreciated.
just to be clear with what I am thinking, org.ajax4jsf.request.MultipartRequest.getParameterMap() does not behave according to javadoc (http://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html#getParameterMap()). It should return java.util.Map<java.lang.String,java.lang.String>, doesn't it?