myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r936282 - /myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/interceptor/ValidationInterceptor.java
Date Wed, 21 Apr 2010 12:33:48 GMT
Author: gpetracek
Date: Wed Apr 21 12:33:47 2010
New Revision: 936282

URL: http://svn.apache.org/viewvc?rev=936282&view=rev
Log:
minor change

Modified:
    myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/interceptor/ValidationInterceptor.java

Modified: myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/interceptor/ValidationInterceptor.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/interceptor/ValidationInterceptor.java?rev=936282&r1=936281&r2=936282&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/interceptor/ValidationInterceptor.java
(original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_1_1/core/src/main/java/org/apache/myfaces/extensions/validator/core/interceptor/ValidationInterceptor.java
Wed Apr 21 12:33:47 2010
@@ -102,7 +102,7 @@ public class ValidationInterceptor exten
             validationStrategy = ExtValUtils.getValidationStrategyForMetaData(entry.getKey());
 
             if (validationStrategy != null &&
-                    isValidationStrategyCompatibleWithValue(validationStrategy,  convertedObject))
+                    isValidationStrategyCompatibleWithValue(validationStrategy, convertedObject,
entry))
             {
                 if(skipValidationEvaluator.skipValidation(facesContext, uiComponent, validationStrategy,
entry))
                 {
@@ -150,7 +150,8 @@ public class ValidationInterceptor exten
         }
     }
 
-    protected boolean isValidationStrategyCompatibleWithValue(ValidationStrategy validationStrategy,
Object value)
+    protected boolean isValidationStrategyCompatibleWithValue(
+            ValidationStrategy validationStrategy, Object value, MetaDataEntry entry /*for
add-ons*/)
     {
         if(value == null)
         {



Mime
View raw message