Repository: tapestry-5 Updated Branches: refs/heads/master 750ffdbde -> 1f09cb654
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/master Commit: 1f09cb6542474084025097337404627fd2573e53 Parents: 750ffdb Author: Howard M. Lewis Ship <hls...@apache.org> Authored: Tue Oct 21 16:17:20 2014 -0700 Committer: Howard M. Lewis Ship <hls...@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)