Since HAPI 2.0 there's the DefaultValidationWithoutTN class, which contains
all rules of DefaultValidation except for the TN rule. Still, it trims FT,
ST, TX types.
If you want no validation and no trimming, just use ValidationContextImpl or
even as a ValidationContext.
cheers
Christian
Ian V
Since starting to use HAPI, I have always turned on NoValidation because nobody
ever uses the telephone number format specified (in Australia?), amongst other
things.
Now it's going to bite me because it trims leading spaces.
Where can I find a beginners introduction to validation in HAPI?
2 matches
Mail list logo