This content has been marked as final.
Show 2 replies
-
1. Re: Uploading Files within a Form
anders.norgaard Oct 29, 2008 5:59 AM (in response to mocha)Good question. I couldn't find a way, so I just used the SEAM fileupload instead. <s:fileUpload>
Best,
Anders -
2. Re: Uploading Files within a Form
andrei_exadel Oct 29, 2008 6:36 AM (in response to mocha)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.