Uses of Class
org.apache.wicket.validation.ValidationError
-
Packages that use ValidationError Package Description org.apache.wicket.bean.validation This package integrates bean validation framework into Wicket.org.apache.wicket.markup.html.form HTML Forms and form components.org.apache.wicket.validation This package provides interfaces for Wicket's validation support. -
-
Uses of ValidationError in org.apache.wicket.bean.validation
Methods in org.apache.wicket.bean.validation that return ValidationError Modifier and Type Method Description <T> ValidationError
DefaultViolationTranslator. convert(javax.validation.ConstraintViolation<T> violation)
<T> ValidationError
IViolationTranslator. convert(javax.validation.ConstraintViolation<T> violation)
Converts aConstraintViolation
into aValidationError
-
Uses of ValidationError in org.apache.wicket.markup.html.form
Methods in org.apache.wicket.markup.html.form that return ValidationError Modifier and Type Method Description protected ValidationError
FormComponent. newValidationError(ConversionException cause)
This method is called, when the validation triggered byFormComponent.convertInput()
failed with aConversionException
, to construct aValidationError
based on the exception. -
Uses of ValidationError in org.apache.wicket.validation
Methods in org.apache.wicket.validation that return ValidationError Modifier and Type Method Description ValidationError
ValidationError. addKey(String key)
Adds a key to the list of keys that will be tried againstIErrorMessageSource
to locate the error message string.ValidationError
ValidationError. addKey(IValidator<?> validator)
Shortcut for adding a standard message key which is the simple name of the validator' classValidationError
ValidationError. addKey(IValidator<?> validator, String variation)
Shortcut for adding a standard message key variation which is the simple name of the validator class followed by a dot and the variationValidationError
ValidationError. setMessage(String message)
Sets message that will be used when no message could be located via message keys.ValidationError
ValidationError. setVariable(String name, Object value)
Sets a key and value in the variables map for use in substitution.ValidationError
ValidationError. setVariables(Map<String,Object> vars)
Sets the variables map for this error.
-