You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/11/15 18:53:05 UTC

svn commit: r717893 - /tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/validator/Email.java

Author: hlship
Date: Sat Nov 15 09:53:05 2008
New Revision: 717893

URL: http://svn.apache.org/viewvc?rev=717893&view=rev
Log:
TAP5-539: Use of the email validator with client-side validation displays a pop-up error message about client-side validator "email" being missing

Modified:
    tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/validator/Email.java

Modified: tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/validator/Email.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/validator/Email.java?rev=717893&r1=717892&r2=717893&view=diff
==============================================================================
--- tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/validator/Email.java (original)
+++ tapestry/tapestry5/branches/5.0/tapestry-core/src/main/java/org/apache/tapestry5/validator/Email.java Sat Nov 15 09:53:05 2008
@@ -44,7 +44,7 @@
     public void render(Field field, Void constraintValue, MessageFormatter formatter, MarkupWriter markupWriter,
                        FormSupport formSupport)
     {
-        formSupport.addValidation(field, "email", buildMessage(formatter, field), null);
+        // Do nothing; we don't yet support client-side validation.
     }
 
     private String buildMessage(MessageFormatter formatter, Field field)