1 Reply Latest reply on Mar 5, 2007 11:41 PM by Gavin King

    A bug on s:fileUpload in Seam + ICEfaces

    Gus Gu Expert


      I think that it is a bug in org.jboss.seam.ui.UIFileUpload. In the decode(FacesContext context) method of UIFileUpload, if I run seamspace example, the request in

      Object *request* = context.getExternalContext().getRequest();
      got MultipartRequest Object. But in Seam+ICEfaces application, I found that the request got ServletEnvironmentRequest Object (from icefaces) in both <ice:form enctype="multipart/form-data"> and <h:form enctype="multipart/form-data"> cases. Since the decode method does not have
      if (request instanceof ServletEnvironmentRequest)...
      the uploaded byte data is always null. Hope it is correct. Thanks.