Author: konstantin.mishin
Date: 2010-12-13 11:50:31 -0500 (Mon, 13 Dec 2010)
New Revision: 20535
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/fileupload/FileUploadBean.java
Log:
RF-9988
Modified:
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/fileupload/FileUploadBean.java
===================================================================
---
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/fileupload/FileUploadBean.java 2010-12-13
16:48:37 UTC (rev 20534)
+++
trunk/examples/richfaces-showcase/src/main/java/org/richfaces/demo/fileupload/FileUploadBean.java 2010-12-13
16:50:31 UTC (rev 20535)
@@ -1,6 +1,6 @@
package org.richfaces.demo.fileupload;
-import org.richfaces.event.UploadEvent;
+import org.richfaces.event.FileUploadEvent;
import org.richfaces.model.UploadedFile;
import javax.faces.bean.ManagedBean;
@@ -35,7 +35,7 @@
stream.write(getFiles().get((Integer) object).getData());
}
- public void listener(UploadEvent event) throws Exception {
+ public void listener(FileUploadEvent event) throws Exception {
UploadedFile item = event.getUploadedFile();
UploadedImage file = new UploadedImage();
file.setLength(item.getData().length);
Show replies by date