5 Replies Latest reply on Aug 28, 2008 11:53 PM by Tony Herstell

    s:fileUpload and a4j:commandButton - not submitting image

    Bob Corcoran Newbie

      We are using an s:fileUpload inside a rich:modalPanel. We originally used an h:commandButton for submit and it worked fine. But we subsequently tried to switch from h:commanButton to a4j:commandButton so that we could have access to the a4j oncomplete event. However, in IE and Firefox, the combination of using an a4j:commandButton with an s:fileUpload results in the submission of null values for: data, contentType, fileName, and fileSize. The request hits the (stateful) backing bean, but all values related to the image in question are null, including the byte array.