I've been looking through guides and such online, but I'm not really clear how the validations work. For example, the JavaDoc for org.apache.struts.validator.FieldChecks.validateLong says it returns "true if valid, false otherwise.", but if the checked value can be converted to java.lang.Long, it returns the value itself, rather than Boolean.TRUE or Boolean.FALSE. I want to combine my own pluggable validators with the 'validwhen' validator, but I'm not sure of the order:

- When multiple validators are listed in the 'depends' attribute, are all validators called, or are they called in order until one returns Boolean.TRUE or some other value? - Must all validators return Boolean.TRUE, or some other value, or must at least one return this value?

Thanks,
 Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to