You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2009/03/11 02:09:15 UTC
svn commit: r752337 -
/myfaces/core/branches/2_0_0/api/src/main/java/javax/faces/validator/RegexValidator.java
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
{