p:fileUpload listener not being called #3696
-
Hi, I am new to this so please bear with me, I am using PF version 13. In the code below the listener bean function defined in p:fileUpload is not being called unless I put that single element inside its own form but then the update attribute cannot see the enclosing panel elements.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Can you try it like this... <h:form enctype="multipart/form-data"> That is how the showcase has it? https://www.primefaces.org/showcase/ui/file/upload/single.xhtml Are you getting any Javascript errors on the F12 console? |
Beta Was this translation helpful? Give feedback.
-
See last comment |
Beta Was this translation helpful? Give feedback.
Hi, found the issue, I had
inside the <h:form>
ie.
which seemed to mask the form, changed it to:
and it worked fine