@Deprecated public class RequiredFileFieldValidator extends NuitonFieldValidatorSupport
<validators>
<!-- Plain-Validator Syntax -->
<validator type="requiredFile">
<param name="fieldName">tmp</param>
<message>tmp is required</message>
</validator>
<!-- Field-Validator Syntax -->
<field name="tmp">
<field-validator type="requiredFile">
<message>tmp is required</message>
</field-validator>
</field>
</validators>
skip| Constructor and Description |
|---|
RequiredFileFieldValidator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getValidatorType()
Deprecated.
|
void |
validateWhenNotSkip(Object object)
Deprecated.
Method to be invoked when skip parameter was not evaludated to
true. |
evaluateSkipParameter, getFieldValue, setSkip, validategetFieldName, setFieldName, setValidatorTypeaddActionError, addFieldError, conditionalParse, getDefaultMessage, getMessage, getMessageKey, getMessageParameters, getParse, getValidatorContext, isShortCircuit, setDefaultMessage, setMessageKey, setMessageParameters, setParse, setShortCircuit, setValidatorContext, setValueStackpublic void validateWhenNotSkip(Object object) throws com.opensymphony.xwork2.validator.ValidationException
NuitonFieldValidatorSupporttrue.validateWhenNotSkip in class NuitonFieldValidatorSupportobject - the object to be validated.com.opensymphony.xwork2.validator.ValidationException - is thrown if there is validation error(s).public String getValidatorType()
getValidatorType in interface com.opensymphony.xwork2.validator.ValidatorgetValidatorType in class com.opensymphony.xwork2.validator.validators.FieldValidatorSupportCopyright © 2011-2013 CodeLutin. All Rights Reserved.