Re: [HAPI-devel] NoValidation and trimming

2012-10-23 Thread christian ohr
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

[HAPI-devel] NoValidation and trimming

2012-10-22 Thread Ian Vowles
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?