You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by do...@apache.org on 2004/08/11 21:09:55 UTC

svn commit: rev 36242 - incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html

Author: dolander
Date: Wed Aug 11 12:09:54 2004
New Revision: 36242

Modified:
   incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java
Log:
Fix a bug that was introduced a couple of days ago.  
I removed the error reporting after the dataSource evaluation which was
causing an exception to occur downstream.




Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java	(original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/CheckBox.java	Wed Aug 11 12:09:54 2004
@@ -265,9 +265,14 @@
             registerTagError(Bundle.getString("Tags_CheckBoxGroupChildError"), null);
 
         Object val = evaluateDataSource();
+        if (hasErrors()) {
+           return reportAndExit(EVAL_PAGE);
+        }
+        
         String realName = doNaming();
-        if (hasErrors())
-            return reportAndExit(EVAL_PAGE);
+        if (hasErrors()) {
+           return reportAndExit(EVAL_PAGE);
+        }
 
         String hiddenParamName = realName + OLDVALUE_SUFFIX;