myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mkien...@apache.org
Subject svn commit: r431917 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/ValidateCompareToTag.java
Date Wed, 16 Aug 2006 15:13:01 GMT
Author: mkienenb
Date: Wed Aug 16 08:13:00 2006
New Revision: 431917

URL: http://svn.apache.org/viewvc?rev=431917&view=rev
Log:
Fix for TOMAHAWK-605 -- compareToValidator JSP tag converts "comparator" property to string
instead of Comparator.
Thanks to "MT3 MTCube"

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/ValidateCompareToTag.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/ValidateCompareToTag.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/ValidateCompareToTag.java?rev=431917&r1=431916&r2=431917&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/ValidateCompareToTag.java
(original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/comparetovalidator/ValidateCompareToTag.java
Wed Aug 16 08:13:00 2006
@@ -71,7 +71,7 @@
         if (_comparator != null)
 		{
 			ValueBinding vb = facesContext.getApplication().createValueBinding(_comparator);
-			validator.setComparator(vb.getValue(facesContext).toString());
+			validator.setComparator(vb.getValue(facesContext));
 		}
         
         if (_foreignComponentName != null)



Mime
View raw message