p:fileUpload works in Firefox but not in Chrome

UI Components for JSF
Post Reply
KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

16 Aug 2010, 19:11

Code: Select all

            <h:form id="myform1" enctype="multipart/form-data">
                <h:panelGrid columns="2" cellpadding="10">
                    <h:outputLabel value="Drawing:" />
                    <p:fileUpload fileUploadListener="#{document.handleFileUpload}" update="msgs" allowTypes="*.*;"/>
                </h:panelGrid>
            </h:form>
This piece of code work perfect in Firefox but not in Chrome. I put a logger in handleFileUpload and when I load it from Chrome, it does not even log anything, meaning that it does not even invoke the method. But when I run in firefox, the file is uploaded and I can see my log. Any idea why

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

17 Aug 2010, 15:49

Does the showcase work for you using chrome?

KingdomHeart
Posts: 280
Joined: 25 Jun 2010, 01:18

17 Aug 2010, 17:48

Nevermind, prime, it decides to work today. I have no idea why. You can close or delete this post. Srry

Mojarra 2.1.10, Glassfish 3.1, Tomcat 7, Primeface 3.3.1
IE 6-8, FireFox 10-13
MAC OSX Lion, Windows XP, 7

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 23 guests