wood burning stoves 2.0*
The moose likes JSF and the fly likes Primefaces fileupload inside a menu button -Two Progress bars issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Primefaces fileupload inside a menu button -Two Progress bars issue" Watch "Primefaces fileupload inside a menu button -Two Progress bars issue" New topic
Author

Primefaces fileupload inside a menu button -Two Progress bars issue

Harpreet Parmar
Greenhorn

Joined: Nov 10, 2010
Posts: 9
Hi,

I am trying to give fileupload inside p:menuButton as a p:menuItem. I am able to upload the file but there are two "upload progress bars" appearing for each upload (single file upload). If I use p:fileUpload outside of p:menuButton then it is coming up fine.

Also the image for file upload is coming below the outputText. I want it to be displayed as image and then the text, in a single line.



Screen shot:



Any help is highly appreciated.


Thanks,
Harpreet Singh
Brendan Healey
Ranch Hand

Joined: May 12, 2009
Posts: 218
I don't think that anything with the word 'menu' in it works very well at present in primefaces,
but the guys are aware of this and are working really hard on addressing the problem. This is
unusual in comparison with the excellent performance in general. These problems will be
addressed in v3 due out within the next 2 months.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Primefaces fileupload inside a menu button -Two Progress bars issue
 
Similar Threads
Uploading Image file from client to the server
redirection from backbean
upload file jsf
<p:graphic image> in conjuction with <p:fileupload>
menuitem doesn´t works it doesn´t redirect me well