Uses of Class
net.sourceforge.stripes.validation.ValidationErrors

Packages that use ValidationErrors
net.sourceforge.stripes.action This package defines the ActionBean interface and related classes and interfaces for writing ActionBeans. 
net.sourceforge.stripes.controller This package contains classes which form the core internals of Stripes. 
net.sourceforge.stripes.mock Mock objects that implement many of the Servlet and Http Servlet interfaces. 
net.sourceforge.stripes.validation This package contains interfaces and implementations of error message classes and of classes that convert Strings to rich objects, providing validation during the conversion. 
net.sourceforge.stripes.validation.expression This package provides several classes that give Stripes the ability to execute EL expressions for validation using various implementations. 
 

Uses of ValidationErrors in net.sourceforge.stripes.action
 

Methods in net.sourceforge.stripes.action that return ValidationErrors
 ValidationErrors ActionBeanContext.getValidationErrors()
          Returns the set of validation errors associated with the current form.
 

Methods in net.sourceforge.stripes.action with parameters of type ValidationErrors
 void ActionBeanContext.setValidationErrors(ValidationErrors validationErrors)
          Replaces the current set of validation errors.
 

Uses of ValidationErrors in net.sourceforge.stripes.controller
 

Methods in net.sourceforge.stripes.controller that return ValidationErrors
 ValidationErrors ActionBeanPropertyBinder.bind(ActionBean bean, ActionBeanContext context, boolean validate)
          Populates all the properties in the request which have a matching property in the target bean.
 ValidationErrors DefaultActionBeanPropertyBinder.bind(ActionBean bean, ActionBeanContext context, boolean validate)
           Loops through the parameters contained in the request and attempts to bind each one to the supplied ActionBean.
 

Methods in net.sourceforge.stripes.controller with parameters of type ValidationErrors
protected  void DefaultActionBeanPropertyBinder.checkSingleRequiredField(String name, String strippedName, String[] values, StripesRequestWrapper req, ValidationErrors errors)
           Checks to see if a single field's set of values are 'present', where that is defined as having one or more values, and where each value is a non-empty String after it has had white space trimmed from each end.
protected  void DefaultActionBeanPropertyBinder.doExpressionValidation(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Performs validation of attribute values using a JSP EL expression if one is defined in the @Validate annotation.
protected  void DefaultActionBeanPropertyBinder.doPostConversionValidations(ActionBean bean, Map<ParameterName,List<Object>> convertedValues, ValidationErrors errors)
          Performs basic post-conversion validations on the properties of the ActionBean after they have been converted to their rich type by the type conversion system.
protected  void DefaultActionBeanPropertyBinder.handlePropertyBindingError(ActionBean bean, ParameterName name, List<Object> values, Exception e, ValidationErrors errors)
          Invoked whenever an exception is thrown when attempting to bind a property to an ActionBean.
protected  void DefaultActionBeanPropertyBinder.validateRequiredFields(Map<ParameterName,String[]> parameters, ActionBean bean, ValidationErrors errors)
          Validates that all required fields have been submitted.
 

Uses of ValidationErrors in net.sourceforge.stripes.mock
 

Methods in net.sourceforge.stripes.mock that return ValidationErrors
 ValidationErrors MockRoundtrip.getValidationErrors()
          Gets the (potentially empty) set of Validation Errors that were produced by the request.
 

Uses of ValidationErrors in net.sourceforge.stripes.validation
 

Methods in net.sourceforge.stripes.validation with parameters of type ValidationErrors
 Resolution ValidationErrorHandler.handleValidationErrors(ValidationErrors errors)
          Allows the ActionBean to influence what happens when validation errors occur during validation and binding.
 

Uses of ValidationErrors in net.sourceforge.stripes.validation.expression
 

Methods in net.sourceforge.stripes.validation.expression with parameters of type ValidationErrors
 void ExpressionExecutorSupport.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
           
 void ExpressionExecutor.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Performs validation of an ActionBean property using the expression contained within the validation metadata.
static void ExpressionValidator.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
          Run expression validation on the bean property provided with the values provided.
 void Jsp21ExpressionExecutor.evaluate(ActionBean bean, ParameterName name, List<Object> values, ValidationMetadata validationInfo, ValidationErrors errors)
           
 



? Copyright 2005-2006, Stripes Development Team.