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.
This is a known issue.