Code: Select all
<p:fileUpload mode="advanced" auto="true" label="Choose cover" update="panelCoverImage, growlAddItem" fileUploadListener="#{addItemAdminBean.handleFileUpload}" oncomplete="resize();" />
<br/>
<p:fileUpload mode="advanced" auto="true" label="Upload new attachment" update="panelAttachments" fileUploadListener="#{addItemAdminBean.handleAttachmentUpload}" oncomplete="resize();" />
What are the options to do? thanks