This content has been marked as final.
Show 3 replies
-
1. Re: fileupload reRender
mwohlf Jul 31, 2009 10:22 PM (in response to jmchiaradia)I didn't try but maybe this works:
<s:decorate id="attachedCopyField" template="/layout/edit.xhtml"> <ui:define name="label">Adjunto</ui:define> <rich:fileUpload id="notaAdjunta" rendered="#{outNoteHome.instance.attachedCopy == null}" fileUploadListener="#{outNoteHome.processUpload}" immediateUpload="true" ajaxSingle="true"> <a4j:support event="onuploadcomplete" reRender="attachedCopyField" /> </rich:fileUpload> <s:button value="Download" rendered="#{outNoteHome.instance.attachedCopy != null}" action="#{fileDownloadBean.downloadFile(outNoteHome.instance.attachedCopy)}" /> </s:decorate>
-
2. Re: fileupload reRender
jmchiaradia Aug 3, 2009 4:54 AM (in response to jmchiaradia)Hi Michael, thanks for the tip, I already try this but still doesn't work ...
I will try something else, but I don't know what could be happening.
-
3. Re: fileupload reRender
hendinas.hendinas.gmail.com Sep 17, 2010 3:02 AM (in response to jmchiaradia)I have the same problem using Seam 2.1 and richfaces 3.3.3
using a a4j:support as suggested by Michael didnt work. is there any other solution??