Uses of Class org.apache.struts.action.ActionErrors

Uses in package org.apache.struts.util

Methods with parameter type org.apache.struts.action.ActionErrors

Validator
StrutsValidatorUtil.initValidator(String key, Object bean, ServletContext application, HttpServletRequest request, ActionErrors errors, int page)
Initialize the Validator to perform validation.
Byte
StrutsValidator.validateByte(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a byte primitive.
Long
StrutsValidator.validateCreditCard(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field is a valid credit card number.
Date
StrutsValidator.validateDate(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field is a valid date.
Double
StrutsValidator.validateDouble(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a double primitive.
boolean
StrutsValidator.validateEmail(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if a field has a valid e-mail address.
Float
StrutsValidator.validateFloat(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a float primitive.
Integer
StrutsValidator.validateInteger(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to an int primitive.
Long
StrutsValidator.validateLong(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a long primitive.
boolean
StrutsValidator.validateMask(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field matches the regular expression in the field's mask attribute.
boolean
StrutsValidator.validateMaxLength(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field's length is less than or equal to the maximum value.
boolean
StrutsValidator.validateMinLength(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field's length is greater than or equal to the minimum value.
boolean
StrutsValidator.validateRange(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if a fields value is within a range (min & max specified in the vars attribute).
boolean
StrutsValidator.validateRequired(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field isn't null and length of the field is greater than zero not including whitespace.
Short
StrutsValidator.validateShort(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a short primitive.

Methods with return type org.apache.struts.action.ActionErrors

ActionErrors
RequestUtils.getActionErrors(PageContext pageContext, String paramName)
Retrieves the value from request scope and if it isn't already an ErrorMessages some classes are converted to one.

Uses in package org.apache.struts.config

Methods with return type org.apache.struts.action.ActionErrors

ActionErrors
The org.apache.struts.action.ActionErrors object, for this request.
ActionErrors
The org.apache.struts.action.ActionErrors object, for this request.

Uses in package org.apache.struts.action

Constructors with parameter type org.apache.struts.action.ActionErrors

Create an ActionErrors object initialized with the given messages.

Methods with parameter type org.apache.struts.action.ActionErrors

void
Action.saveErrors(HttpServletRequest request, ActionErrors errors)
Save the specified error messages keys into the appropriate request attribute for use by the <html:errors> tag, if any messages are required.

Methods with return type org.apache.struts.action.ActionErrors

ActionErrors
ActionForm.validate(ActionMapping mapping, HttpServletRequest request)
Validate the properties that have been set for this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
ActionErrors
ActionForm.validate(ActionMapping mapping, ServletRequest request)
Validate the properties that have been set for this non-HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.

Uses in package org.apache.struts.validator

Methods with parameter type org.apache.struts.action.ActionErrors

Validator
Resources.initValidator(String key, Object bean, ServletContext application, HttpServletRequest request, ActionErrors errors, int page)
Initialize the Validator to perform validation.
Byte
FieldChecks.validateByte(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a byte primitive.
Long
FieldChecks.validateCreditCard(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field is a valid credit card number.
Date
FieldChecks.validateDate(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field is a valid date.
Double
FieldChecks.validateDouble(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a double primitive.
boolean
FieldChecks.validateDoubleRange(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if a fields value is within a range (min & max specified in the vars attribute).
boolean
FieldChecks.validateEmail(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if a field has a valid e-mail address.
Float
FieldChecks.validateFloat(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a float primitive.
boolean
FieldChecks.validateFloatRange(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if a fields value is within a range (min & max specified in the vars attribute).
boolean
FieldChecks.validateIntRange(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if a fields value is within a range (min & max specified in the vars attribute).
Integer
FieldChecks.validateInteger(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to an int primitive.
Long
FieldChecks.validateLong(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a long primitive.
boolean
FieldChecks.validateMask(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field matches the regular expression in the field's mask attribute.
boolean
FieldChecks.validateMaxLength(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field's length is less than or equal to the maximum value.
boolean
FieldChecks.validateMinLength(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field's length is greater than or equal to the minimum value.
boolean
FieldChecks.validateRange(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if a fields value is within a range (min & max specified in the vars attribute).
boolean
FieldChecks.validateRequired(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field isn't null and length of the field is greater than zero not including whitespace.
boolean
FieldChecks.validateRequiredIf(Object bean, ValidatorAction va, Field field, ActionErrors errors, org.apache.commons.validator.Validator validator, HttpServletRequest request)
Checks if the field isn't null based on the values of other fields.
Short
FieldChecks.validateShort(Object bean, ValidatorAction va, Field field, ActionErrors errors, HttpServletRequest request)
Checks if the field can safely be converted to a short primitive.

Methods with return type org.apache.struts.action.ActionErrors

ActionErrors
DynaValidatorActionForm.validate(ActionMapping mapping, HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
ActionErrors
DynaValidatorForm.validate(ActionMapping mapping, HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
ActionErrors
ValidatorActionForm.validate(ActionMapping mapping, HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
ActionErrors
ValidatorForm.validate(ActionMapping mapping, HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.

Copyright B) 2000-2005 - Apache Software Foundation