Author: lfryc(a)redhat.com
Date: 2010-12-13 13:46:54 -0500 (Mon, 13 Dec 2010)
New Revision: 20541
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java
Log:
fixed RichFileUploadBean dependency (UploadEvent > FileUploadEvent)
Modified:
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java
===================================================================
---
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java 2010-12-13
18:46:10 UTC (rev 20540)
+++
modules/tests/metamer/trunk/application/src/main/java/org/richfaces/tests/metamer/bean/RichFileUploadBean.java 2010-12-13
18:46:54 UTC (rev 20541)
@@ -28,12 +28,13 @@
import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ViewScoped;
+
import org.richfaces.component.UIFileUpload;
-import org.richfaces.event.UploadEvent;
import org.richfaces.model.UploadedFile;
import org.richfaces.tests.metamer.Attributes;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import org.richfaces.event.FileUploadEvent;
/**
* Managed bean for rich:fileUpload.
@@ -82,7 +83,7 @@
return files;
}
- public void listener(UploadEvent event) {
+ public void listener(FileUploadEvent event) {
UploadedFile file = event.getUploadedFile();
if (file != null) {
Show replies by date