You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2010/12/19 10:43:03 UTC

svn commit: r1050778 - /wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/EmailTextField.java

Author: mgrigorov
Date: Sun Dec 19 09:43:02 2010
New Revision: 1050778

URL: http://svn.apache.org/viewvc?rev=1050778&view=rev
Log:
WICKET-3241 Add support for the new HTML 5 input types

Add a note that this component does not support "multiple" attribute for now

Modified:
    wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/EmailTextField.java

Modified: wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/EmailTextField.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/EmailTextField.java?rev=1050778&r1=1050777&r2=1050778&view=diff
==============================================================================
--- wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/EmailTextField.java (original)
+++ wicket/trunk/wicket/src/main/java/org/apache/wicket/markup/html/form/EmailTextField.java Sun Dec 19 09:43:02 2010
@@ -26,6 +26,11 @@ import org.apache.wicket.validation.vali
  * 
  * <p>
  * Automatically validates that the input is a valid email address.
+ * </p>
+ * <p>
+ * <strong>Note</strong>: This component does <strong>not</strong> support multiple values! That is
+ * &lt;input type=&quot;email&quot; multiple .../&gt; cannot be validated with the default email
+ * validator
  */
 public class EmailTextField extends TextField<String>
 {