Advanced FileUpload with MobileRenderKit

UI Components for JSF
Post Reply
suskun52
Posts: 1
Joined: 20 Mar 2015, 13:36

11 Jun 2015, 11:32

Does Advanced FileUpload work with MobileRenderKit?

I tried to Upload with following Code :

Code: Select all

	<h:form  enctype="multipart/form-data"
		rendered="#{eordner.uploadaktiv}">
		<p:fileUpload id="dateiupload" fileUploadListener="#{upload.getfiles}">
		</p:fileUpload>
		<p:commandButton value="Hochladen..." />
	</h:form>

Code: Select all

	public void getfiles(FileUploadEvent event) {
		
		System.out.println(event.getFile().getFileName());
		
	}

But the fileUploadListener is never invoked.

When I change to normal RenderKit it get invoked.

Is there a solution? I want to able to make mutiple upload.

The simple mode Works fine

I`m on
Primefaces 5.2
Tomat 7.0.26
Java 1.0.7
Mojarra 2.2.10


Thanks

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests