1 Reply Latest reply on Apr 28, 2015 5:15 AM by Michal Petrov

    ask confirmation before file upload

    Jean-Noel Colin Newbie

      Hi

      I would like to display a warning popup window when the user clicks on the 'upload' button of a rich:fileUpload component. I tried using the onfilesubmit event, but it does not prevent the fileUploadListener to fire.

       

      What would be the right way of doing this: user clicks on 'upload', gets a popup and confirm, and then the fileUploadListener fires. The user could also cancel, in which case the fileUploadListener would not fire.

       

      Thanks for your help

       

      Jean-Noël