myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r752337 - /myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/RegexValidator.java
Date Wed, 11 Mar 2009 01:09:15 GMT
Author: lu4242
Date: Wed Mar 11 01:09:14 2009
New Revision: 752337

URL: http://svn.apache.org/viewvc?rev=752337&view=rev
Log:
remove @FacesValidator annotation, since this validator is on generated faces-config.xml (so
if annotation stuff works it will be added twice) and the value that should be inside this
annotation should be the validatorId

Modified:
    myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/RegexValidator.java

Modified: myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/RegexValidator.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/RegexValidator.java?rev=752337&r1=752336&r2=752337&view=diff
==============================================================================
--- myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/RegexValidator.java
(original)
+++ myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/RegexValidator.java
Wed Mar 11 01:09:14 2009
@@ -85,7 +85,6 @@
     name="binding",
     returnType = "javax.faces.validator.RegexValidator",
     longDesc = "A ValueExpression that evaluates to a RegexValidator.")
-@FacesValidator("validateRegex")
 public class RegexValidator implements Validator, StateHolder
 {
 



Mime
View raw message