Hi,

I am trying to write a regular expression for a mask, for use in the validation.xml file, that will reject input text that consists of all whitespace characters. But, no matter what pattern I try, an all-whitespace entry is always accepted.

Is there some strange rule, as part of the Validator's validation process, that always accepts whitespace? Or is there something else going on?

Do I have to resort to accepting the all-whitespace input, detecting it in the ActionForm's validate method and manually setting a message in ActionErrors?

Thanks,

Frank.


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



Reply via email to