This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

PrimeFaces Not Working with GlassFish  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am using Netbeans 7.01 and GlassFish. I downloaded PrimeFaces 3.2 and added it to the library. I followed the FileUpload example in http://www.primefaces.org/showcase/ui/fileUploadSimple.jsf. It gives a warning and the holds the functioning of p:fileUpload. I inserted a p:commandButton, but it also seems to be the same. I inserted h:commandButton and it functions as expected with same back bean method. But <p:spinner /> and p:growl are functioning as expected.

The warning in the GLassFish 3.x log is WARNING: PWC4011: Unable to set request character encoding to UTF-8 from context /web, because request parameters have already been read, or ServletRequest.getReader() has already been called.
I got rid of that warning after following the discussion on http://code.google.com/p/primefaces/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Stars%20Type%20Status%20Priority%20TargetVersion%20Reporter%20Owner%20Summary&groupby=&sort=&id=1195, still there was no change in the functionality.

Backbean Code



xhtml code





I will be grateful to someone who can detect the issue.
Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!