This content has been marked as final. Show 2 replies
Good question. I couldn't find a way, so I just used the SEAM fileupload instead. <s:fileUpload>
Try the following code:
<h:form> <rich:fileUpload id="fileUploadId"..> ... <h:commandButton action="..." value="..."> <rich:componentControl event="onmousedown" for="uploadId" operation="beforeSubmit"> </h:commandButton> </h:form>
In this case all inputs will be submitted by one request. Update model for all component should be executed, fileUploadListener should be invoked.