fileUpload listener not firing
I have a very simple :
and a JSF Sessionbean fileUploadController.
No event fired.
When accessing the bean from other components, the bean is initialised and working, so
the bean is quite fine.
?????? What's the problem ?????? I don't get it !
Regards,
Holger
Code: Select all
<h:form id="uploadformid" enctype="multipart/form-data">
<p:fileUpload id="fuploadid" value="#{fileUploadController.file}" mode="simple" />
</h:form>
<h:form>
<p:commandButton id="uploadbuttonid" value="Submit" ajax="false"
action="#{fileUploadController.upload1}"/>
</h:form>
No event fired.
When accessing the bean from other components, the bean is initialised and working, so
the bean is quite fine.
?????? What's the problem ?????? I don't get it !
Regards,
Holger
// Netbeans 7.2 // Glassfish 3.1.2 // Windows 7 (64 bit) // FireFox // PrimeFaces 3.4.2
Hello Holger,
I'm trying to upgrade from Primefaces 2.2 to 3.x. I've been using ajax to upload the files and I would like to keep using it, you said it yourself: "No event is fired", if no event is fired how can I deal with the uploaded files (copy them, resized them, whatever)?
Thank you
I'm trying to upgrade from Primefaces 2.2 to 3.x. I've been using ajax to upload the files and I would like to keep using it, you said it yourself: "No event is fired", if no event is fired how can I deal with the uploaded files (copy them, resized them, whatever)?
Thank you
Using PrimeFaces v3.0, JSF Mojarra 2.0.6 and Tomcat 6
-
- Information
-
Who is online
Users browsing this forum: No registered users and 23 guests