public FormInputValidator notEmpty ( VisValidatableTextField field , String errorMsg ) { EmptyInputValidator validator = new EmptyInputValidator ( errorMsg ) ; field . addValidator ( validator ) ; add ( field ) ; return validator ; }
Validates if file is not empty