protected boolean validate ( JQMFormWidget widget ) { boolean validated = true ; Collection < Validator > validators = widgetValidators . get ( widget ) ; for ( Validator v : validators ) if ( ! validate ( v , widget . asWidget ( ) ) ) validated = false ; return validated ; }
Performs validation for a single widget first resetting all validation messages on that widget .