This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes primefaces fileupload doesn't work Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "primefaces fileupload doesn Watch "primefaces fileupload doesn New topic

primefaces fileupload doesn't work

yun hu

Joined: Feb 18, 2010
Posts: 13

Does anybody use p:fileUpload no problem?

I have problem when i click upload button. It doent go into the managedBean action.

here is my code.

xhtml:<h:form id="mainform" prependId="false" enctype="multipart/form-data">
<p:fileUpload id="test"
allowTypes="*.jpg;*.png;*.gif;" description="Images" />

public void handleFileUpload(FileUploadEvent event) {
subject: primefaces fileupload doesn't work
Similar Threads
JSF 2.0 GlassFish 3.0.1 problem
DataTable and UploadFile
JSF 2.0 and AJAX Problem
Trying to change <ui:include> src tag dinamically
Passing parameters with h: link