Author: andrei_exadel
Date: 2008-04-04 09:24:28 -0400 (Fri, 04 Apr 2008)
New Revision: 7609
Modified:
trunk/ui/fileUpload/src/main/java/org/richfaces/component/UIFileUpload.java
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
Log:
refactoring
Modified: trunk/ui/fileUpload/src/main/java/org/richfaces/component/UIFileUpload.java
===================================================================
--- trunk/ui/fileUpload/src/main/java/org/richfaces/component/UIFileUpload.java 2008-04-04
13:23:11 UTC (rev 7608)
+++ trunk/ui/fileUpload/src/main/java/org/richfaces/component/UIFileUpload.java 2008-04-04
13:24:28 UTC (rev 7609)
@@ -4,7 +4,6 @@
import java.util.Locale;
import java.util.Map;
-import javax.el.MethodExpression;
import javax.el.ValueExpression;
import javax.faces.FacesException;
import javax.faces.application.Application;
Modified:
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java
===================================================================
---
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-04-04
13:23:11 UTC (rev 7608)
+++
trunk/ui/fileUpload/src/main/java/org/richfaces/renderkit/FileUploadRendererBase.java 2008-04-04
13:24:28 UTC (rev 7609)
@@ -16,7 +16,6 @@
import javax.faces.component.UIParameter;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
-import javax.faces.event.ActionEvent;
import javax.faces.render.RenderKit;
import javax.faces.render.RenderKitFactory;
import javax.servlet.ServletRequest;
@@ -24,11 +23,9 @@
import javax.servlet.http.HttpSession;
import org.ajax4jsf.Filter;
-import org.ajax4jsf.component.UIActionParameter;
import org.ajax4jsf.context.AjaxContext;
import org.ajax4jsf.context.AjaxContextImpl;
import org.ajax4jsf.event.AjaxEvent;
-import org.ajax4jsf.exception.FileUploadException;
import org.ajax4jsf.javascript.JSFunction;
import org.ajax4jsf.javascript.JSFunctionDefinition;
import org.ajax4jsf.javascript.JSLiteral;
@@ -58,10 +55,6 @@
/** Attribute name where collection of files uploaded will be stored */
private static final String _FILES_UPLOADED_ATTRIBUTE_NAME = "uploadData";
- /** Multipart request class name */
- private static final String _MULTIPART_REQUEST_CLASS_NAME = MultipartRequest.class
- .getName();
-
/** File upload bundle name */
private static final String FILE_UPLOAD_BUNDLE =
"org.richfaces.renderkit.fileUpload";
Show replies by date