public class FormErrorMessageBuilder extends Object
Modifier and Type | Field and Description |
---|---|
protected FieldI18nResourceObtainer |
fieldI18nResourceObtainer |
protected LocaleManager |
localeManager |
Constructor and Description |
---|
FormErrorMessageBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addErrorMessage(String error,
List<String> errors) |
protected void |
addErrorMessages(List msgs,
Field field,
ResourceBundle bundle,
List<String> errors) |
protected String |
getErrorMessage(String msg,
Field field,
ResourceBundle bundle) |
List |
getWrongFormErrors(String namespace,
Form form) |
List |
getWrongFormErrors(String namespace,
Form form,
List<String> errors) |
@Inject protected FieldI18nResourceObtainer fieldI18nResourceObtainer
@Inject protected LocaleManager localeManager
protected void addErrorMessages(List msgs, Field field, ResourceBundle bundle, List<String> errors)
protected String getErrorMessage(String msg, Field field, ResourceBundle bundle)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.