@ Override protected void validateComponent ( final List < Diagnostic > diags ) { if ( isValidNumber ( ) ) { super . validateComponent ( diags ) ; validateNumber ( diags ) ; } else { diags . add ( createErrorDiagnostic ( InternalMessages . DEFAULT_VALIDATION_ERROR_INVALID , this ) ) ; } }
Override WInput s validateComponent to perform futher validation on email addresses .