I can't use multiple fileUpload elements on a single page, only the last one seems to receive events from the browser and performs ajax calls. The first elements silently ignore the user actions (the file selection dialog pops up, but nothing else happens, no errors in the javascript console).
Code: Select all
<p:fileUpload
allowTypes="/(\.|\/)(gif|jpe?g|png)$/"
auto="true"
update=":editorForm"
multiple="false"
sizeLimit="2000000"
label="#{cc.attrs.label}"
mode="advanced"
fileUploadListener="#{cc.attrs.fileUploadListener}"
/>
<version>3.0.RC1-SNAPSHOT</version>
<artifactId>myfaces-impl</artifactId>
<version>2.1.1</version>
Jetty 8, Firefox 6
Any ideas?