net.anotheria.maf.validation
Interface ValidationAware
public interface ValidationAware
Custom error handler used to process validation errors,
action should implement this interface to customize error handling.
- Version:
- 1.0
Date: Jan 16, 2010
Time: 9:23:55 PM
- Author:
- vitaliy
executeOnValidationError
ActionCommand executeOnValidationError(ActionMapping mapping,
FormBean formBean,
List<ValidationError> errors,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws Exception
- Called instead of execute if the validation framework encountered an error.
- Parameters:
mapping - action mapping.formBean - form bean. This will probably be incompletely validated.errors - Validation errors.req - http servlet request.res - http servlet response.
- Returns:
-
- Throws:
Exception
Copyright © 2010-2013 anotheria.net. All Rights Reserved.