1

I can successfully upload images in another page, but on a page with below code:

<p:fileUpload  id="vendorLogoUpload" fileUploadListener="#{vendorEditController.handleVendorLogo}" mode="advanced" auto="true" 
                                                        update="vendorLogo" sizeLimit="10000000" allowTypes="/(\.|\/)(gif|jpe?g|png)$/" />

handleVendorLogo is fired when a dialog first opened, on second try to upload another photo, handle event is not fired. What might this be about?

merveotesi
  • 2,145
  • 15
  • 53
  • 84

0 Answers0