fileUpload listener not firing

UI Components for JSF
User avatar
blind3r
Posts: 11
Joined: 17 Nov 2010, 17:33

22 Jun 2011, 16:30

So no one has this working ?
Using PrimeFaces v3.0, JSF Mojarra 2.0.6 and Tomcat 6

User avatar
ITReppert
Posts: 57
Joined: 07 Feb 2011, 19:43

28 Jun 2011, 16:36

I have a very simple :

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>
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
// Netbeans 7.2 // Glassfish 3.1.2 // Windows 7 (64 bit) // FireFox // PrimeFaces 3.4.2

User avatar
blind3r
Posts: 11
Joined: 17 Nov 2010, 17:33

28 Jun 2011, 18:03

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
Using PrimeFaces v3.0, JSF Mojarra 2.0.6 and Tomcat 6

User avatar
ITReppert
Posts: 57
Joined: 07 Feb 2011, 19:43

29 Jun 2011, 16:06

That's a good question ..........
I don't get it to work.

Regards,
Holger
// Netbeans 7.2 // Glassfish 3.1.2 // Windows 7 (64 bit) // FireFox // PrimeFaces 3.4.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests