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)