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;