1 Reply Latest reply on Mar 15, 2012 9:45 AM by brunolellis

    RichFaces 3.3.3 - fileUpload possible problem at MultipartRequest.getParameterMap()

    brunolellis

      Hello,

       

      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)

       

      http://grepcode.com/file/repository.jboss.org/nexus/content/repositories/releases/org.richfaces.framework/richfaces-impl/3.3.3.Final/org/ajax4jsf/request/MultipartRequest.java

       

      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.

       

       

      More details here: http://ocpsoft.org/support/topic/fileupload-problem-with-prettyfaces-333-richfaces-333

       

      Best regards,

      Bruno