click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bck...@apache.org
Subject svn commit: r962484 - /click/trunk/click/framework/src/org/apache/click/control/Checkbox.java
Date Fri, 09 Jul 2010 11:29:35 GMT
Author: bckfnn
Date: Fri Jul  9 11:29:35 2010
New Revision: 962484

URL: http://svn.apache.org/viewvc?rev=962484&view=rev
Log:
clear error before validating. CLK-709

Modified:
    click/trunk/click/framework/src/org/apache/click/control/Checkbox.java

Modified: click/trunk/click/framework/src/org/apache/click/control/Checkbox.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/control/Checkbox.java?rev=962484&r1=962483&r2=962484&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/control/Checkbox.java (original)
+++ click/trunk/click/framework/src/org/apache/click/control/Checkbox.java Fri Jul  9 11:29:35
2010
@@ -293,6 +293,7 @@ public class Checkbox extends Field {
      */
     @Override
     public void validate() {
+        setError(null);
         if (isRequired() && !isChecked()) {
             setErrorMessage("not-checked-error");
         }



Mime
View raw message