haul 02/04/28 12:51:37
Modified: src/java/org/apache/cocoon/components/language/markup/xsp
Tag: cocoon_2_0_3_branch
XSPFormValidatorHelper.java
Log:
sync with head
Revision Changes Path
No revision
No revision
1.8.2.1 +3 -3
xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/XSPFormValidatorHelper.java
Index: XSPFormValidatorHelper.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/language/markup/xsp/XSPFormValidatorHelper.java,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -u -r1.8 -r1.8.2.1
--- XSPFormValidatorHelper.java 6 Apr 2002 06:27:39 -0000 1.8
+++ XSPFormValidatorHelper.java 28 Apr 2002 19:51:37 -0000 1.8.2.1
@@ -71,7 +71,7 @@
* The <code>ValidatorActionResult</code> object helper
*
* @author <a href="mailto:[EMAIL PROTECTED]">Christian Haul</a>
- * @version CVS $Id: XSPFormValidatorHelper.java,v 1.8 2002/04/06 06:27:39
vgritsenko Exp $
+ * @version CVS $Id: XSPFormValidatorHelper.java,v 1.8.2.1 2002/04/28 19:51:37 haul
Exp $
*/
public class XSPFormValidatorHelper {
@@ -160,7 +160,7 @@
if (param_result != null) {
result = (ValidatorActionResult) param_result.get(name);
}
- return result;
+ return (result != null? result : ValidatorActionResult.NOTPRESENT);
}
/**
@@ -176,7 +176,7 @@
if (param_result != null) {
result = (ValidatorActionResult) param_result.get(current_parameter);
}
- return result;
+ return (result != null? result : ValidatorActionResult.NOTPRESENT);
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]