You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by th...@apache.org on 2014/12/07 03:29:00 UTC

[02/45] tapestry-5 git commit: TAP5-2401: Only emit the pattern and title attributes when client-side validation is enabled

TAP5-2401: Only emit the pattern and title attributes when client-side validation is enabled


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/1f09cb65
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/1f09cb65
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/1f09cb65

Branch: refs/heads/beanmodel-split
Commit: 1f09cb6542474084025097337404627fd2573e53
Parents: 750ffdb
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Tue Oct 21 16:17:20 2014 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Tue Oct 21 16:17:20 2014 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/tapestry5/validator/Regexp.java      | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/1f09cb65/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java b/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java
index bc94429..b30c08e 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/validator/Regexp.java
@@ -56,9 +56,6 @@ public class Regexp extends AbstractValidator<Pattern, String>
                     "pattern", constraintValue.pattern(),
                     "title", message);
         }
-
-        writer.attributes("pattern", constraintValue.pattern(),
-                "title", message);
     }
 
     public void validate(Field field, Pattern constraintValue, MessageFormatter formatter, String value)