You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2013/04/29 19:39:11 UTC
svn commit: r1477227 -
/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputFile.java
Author: lu4242
Date: Mon Apr 29 17:39:10 2013
New Revision: 1477227
URL: http://svn.apache.org/r1477227
Log:
MYFACES-3716 Implement h:inputFile
Added:
myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputFile.java
- copied, changed from r1470662, myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputText.java
Copied: myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputFile.java (from r1470662, myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputText.java)
URL: http://svn.apache.org/viewvc/myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputFile.java?p2=myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputFile.java&p1=myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputText.java&r1=1470662&r2=1477227&rev=1477227&view=diff
==============================================================================
--- myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputText.java (original)
+++ myfaces/core/trunk/api/src/main/java/javax/faces/component/html/_HtmlInputFile.java Mon Apr 29 17:39:10 2013
@@ -28,14 +28,14 @@ import org.apache.myfaces.buildtools.mav
*
*/
@JSFComponent
-(name = "h:inputText",
-clazz = "javax.faces.component.html.HtmlInputText",template=true,
-tagClass = "org.apache.myfaces.taglib.html.HtmlInputTextTag",
-defaultRendererType = "javax.faces.Text",
+(name = "h:inputFile",
+clazz = "javax.faces.component.html.HtmlInputFile",template=true,
+tagClass = "org.apache.myfaces.taglib.html.HtmlInputFileTag",
+defaultRendererType = "javax.faces.File",
implementz = "javax.faces.component.behavior.ClientBehaviorHolder",
defaultEventName = "valueChange"
)
-abstract class _HtmlInputText extends UIInput
+abstract class _HtmlInputFile extends UIInput
implements _AccesskeyProperty,
_AltProperty, _UniversalProperties, _DisabledReadonlyProperties,
_FocusBlurProperties, _ChangeSelectProperties, _EventProperties,
@@ -45,7 +45,7 @@ abstract class _HtmlInputText extends UI
static public final String COMPONENT_FAMILY =
"javax.faces.Input";
static public final String COMPONENT_TYPE =
- "javax.faces.HtmlInputText";
+ "javax.faces.HtmlInputFile";
/**
* HTML: The maximum number of characters allowed to be entered.