34353637383940
@Override public void addValidationError(InputComponent<?, ?> input, String errorMessage) { Assert.notNull(errorMessage, "Error Message cannot be null"); messages.add(new UIMessageImpl(Severity.ERROR, errorMessage, input)); }
41424344454647
@Override public void addValidationWarning(InputComponent<?, ?> input, String warningMessage) { Assert.notNull(warningMessage, "Warning Message cannot be null"); messages.add(new UIMessageImpl(Severity.WARN, warningMessage, input)); }
4849505152535455
@Override public void addValidationInformation(InputComponent<?, ?> input, String infoMessage) { Assert.notNull(infoMessage, "Information Message cannot be null"); messages.add(new UIMessageImpl(Severity.INFO, infoMessage, input)); }