public abstract class EchoBaseFieldValidatorSupport
extends org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
| Constructor and Description |
|---|
EchoBaseFieldValidatorSupport() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
_(String key,
Object... args)
Translate the given i18n key with his optional arguments.
|
protected void |
addFieldError(String propertyName,
String error)
Add directly a field error with the given sentence wihtout any translation from the xml validator file.
|
evaluateSkipParameter, getFieldValue, setSkip, validate, validateWhenNotSkipgetFieldName, getValidatorType, setFieldName, setValidatorTypeaddActionError, addFieldError, getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, isShortCircuit, parse, setDefaultMessage, setMessageKey, setMessageParameters, setShortCircuit, setValidatorContext, setValueStackprotected void addFieldError(String propertyName, String error)
propertyName - name of the property where to push the errorerror - the errorprotected String _(String key, Object... args)
key - the i18n key to translateargs - the optional arguments of the sentenceCopyright © 2011–2013 Ifremer. All rights reserved.