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 2011/07/14 02:20:18 UTC
svn commit: r1146523 - in /myfaces/tomahawk/trunk:
core/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java
core12/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java
Author: lu4242
Date: Thu Jul 14 00:20:18 2011
New Revision: 1146523
URL: http://svn.apache.org/viewvc?rev=1146523&view=rev
Log:
TOMAHAWK-1597 Tld documentation on inputFileUpload - accept attribute
Modified:
myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java
myfaces/tomahawk/trunk/core12/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java
Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java?rev=1146523&r1=1146522&r2=1146523&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java (original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java Thu Jul 14 00:20:18 2011
@@ -103,8 +103,11 @@ public abstract class AbstractHtmlInputF
public abstract String getStorage();
/**
- * This property appears to have no purpose at all. It certainly has no
- * documentation.
+ * This attribute specifies a comma-separated list of content types that
+ * a server processing this form will handle correctly. User agents may
+ * use this information to filter out non-conforming files when prompting
+ * a user to select files to be sent to the server
+ * (cf. the INPUT element when type="file")."
*
* @JSFProperty
*/
Modified: myfaces/tomahawk/trunk/core12/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core12/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java?rev=1146523&r1=1146522&r2=1146523&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core12/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java (original)
+++ myfaces/tomahawk/trunk/core12/src/main/java/org/apache/myfaces/custom/fileupload/AbstractHtmlInputFileUpload.java Thu Jul 14 00:20:18 2011
@@ -105,8 +105,11 @@ public abstract class AbstractHtmlInputF
public abstract String getStorage();
/**
- * This property appears to have no purpose at all. It certainly has no
- * documentation.
+ * This attribute specifies a comma-separated list of content types that
+ * a server processing this form will handle correctly. User agents may
+ * use this information to filter out non-conforming files when prompting
+ * a user to select files to be sent to the server
+ * (cf. the INPUT element when type="file")."
*
* @JSFProperty
*/