fileUpload still do not work with 2.2.M1, Glassfish 3.0.1, Majorra 2.0.2 (FCS b10), Firefox 3.5, Linux.
I understand that it was not working with 2.2.M1-SNAPSHOT, but I read in previous topics that it is supposed to be working with 2.2.M1.
With 2.2.M1 fileUpload has lost its flash appearance, which is a welcome change, but the firing of the listener method still fails.
However, if primefaces-2.2.M1.jar is changed to primefaces-2.1.jar in the application then fileUpload works fine.
trouble with fileUpload and 2.2.M1
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Showcase is running fine for me on 2.2.M1;
http://www.primefaces.org/showcase/ui/f ... Update.jsf
Do you get any error on client side?
http://www.primefaces.org/showcase/ui/f ... Update.jsf
Do you get any error on client side?
Yes, on the client side I receive an "uploader is not defined" error message when clicking on "upload" link.
Interestingly, the generated page source on the client side of my application is also devoid of any shockwave-flash content as follows:
Interestingly, the generated page source on the client side of my application is also devoid of any shockwave-flash content as follows:
Code: Select all
<span id="j_idt8:j_idt11"><input type="file" name="j_idt8_j_idt11_file" id="j_idt8_j_idt11_file"><a onclick="uploader.upload()" href="javascript:void(0)">Upload</a> | <a onclick="uploader.clear()" href="javascript:void(0)">Clear</a>
</span>
<script type="text/javascript">jQuery(function() {uploader = new PrimeFaces.widget.Uploader('j_idt8:j_idt11', {uploader:'/FileUploadTest/faces/javax.faces.resource/fileupload/uploadify.swf?ln=primefaces',script:'/FileUploadTest/faces/index.xhtml',cancelImg:'/FileUploadTest/faces/javax.faces.resource/fileupload/cancel.png?ln=primefaces',formId:'j_idt8',fileDataName:'j_idt8_j_idt11_file',multi:false,auto:false,inputFileId:'j_idt8_j_idt11_file',update:'growl',buttonText:'keres',fileExt:'*.xls',fileDesc:'.xls',sizeLimit:500000});});
</script>
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
uploader variable seems to be there, maybe you can try clearing your browser cache.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 35 guests