when I upgraded to struts 1.2.6 it stopped working. I have done all the things in
http://wiki.apache.org/struts/StrutsUpgradeNotes11to124 ie change the validator dtd
I also tried using the most recent version of the validator jar 1.1.4.
I even created a validator that always returns false
public static boolean validateRequiredMultilist( Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request) {
return false;
}
It didn't seem to do anything but empty selections got by as valid.
My validator-rule-custom.xml contains the entry
<validator name="requiredmultilist"
classname="org.ycmi.validators.MultilistValidator"
method="validateRequiredMultilist"
methodParams="java.lang.Object,
org.apache.commons.validator.ValidatorAction,
org.apache.commons.validator.Field,
org.apache.struts.action.ActionErrors,
javax.servlet.http.HttpServletRequest"
msg="errors.multilist">
</validator>The builtins seem to be working fine.
I must be missing something very fundamental/simple.
Any help would be appreciated. mas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

