Finish uploading files and then execute the jsf:action of the button
问题 The fileupload, as seen in the code, call a method, which saves files in a List <>. The upload files from the button with the ruling PF ('fileupload') upload ().; What I need here is that when you upload the "n" preloaded, recently at the end of the upload, execute the action method of the button. <p:fileUpload id="fileupload" widgetVar="fileupload" fileUploadListener="#{incidentBean.handleAttachment}" mode="advanced" label="Adjuntar (máx. 800kb)" invalidFileMessage="Archivo inválido" update=