|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork2.validator.validators.ValidatorSupport
com.opensymphony.xwork2.validator.validators.FieldValidatorSupport
org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport
fr.ifremer.echobase.ui.validators.EchoBaseFieldValidatorSupport
public abstract class EchoBaseFieldValidatorSupport
Base EchoBase validator.
| Field Summary |
|---|
| Fields inherited from class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport |
|---|
skip |
| Fields inherited from class com.opensymphony.xwork2.validator.validators.ValidatorSupport |
|---|
defaultMessage, log, messageKey |
| Constructor Summary | |
|---|---|
EchoBaseFieldValidatorSupport()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.nuiton.validator.xwork2.field.NuitonFieldValidatorSupport |
|---|
evaluateSkipParameter, getFieldValue, setSkip, validate, validateWhenNotSkip |
| Methods inherited from class com.opensymphony.xwork2.validator.validators.FieldValidatorSupport |
|---|
getFieldName, getValidatorType, setFieldName, setValidatorType |
| Methods inherited from class com.opensymphony.xwork2.validator.validators.ValidatorSupport |
|---|
addActionError, addFieldError, conditionalParse, getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, setShortCircuit, setValidatorContext, setValueStack |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.opensymphony.xwork2.validator.Validator |
|---|
getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getValidatorContext, setDefaultMessage, setMessageKey, setMessageParameters, setValidatorContext, setValueStack |
| Constructor Detail |
|---|
public EchoBaseFieldValidatorSupport()
| Method Detail |
|---|
protected void addFieldError(String propertyName,
String error)
propertyName - name of the property where to push the errorerror - the error
protected String _(String key,
Object... args)
key - the i18n key to translateargs - the optional arguments of the sentence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||