Annotation Type CustomPostConversionAdjuster


@Documented @Inherited @Target(FIELD) @Retention(RUNTIME) public @interface CustomPostConversionAdjuster

Defines how a single value form field value (whether on a Struts Action or model of ModelDriven Struts Action) that should be modified after conversion but before post conversion validation using a client supplied adjuster. The custom adjuster must implement PostConversionAdjuster, preferably extending AbstractCustomPostConversionAdjusterSupport, and have a default public constructor.

Other parameters

Other Parameters
adjusterClass Class of client supplied adjuster. See notes above.
param1 Parameter recognised by custom validator. Defaults to empty string.
param2 Parameter recognised by custom validator. Defaults to empty string.
param3 Parameter recognised by custom validator. Defaults to empty string.
param4 Parameter recognised by custom validator. Defaults to empty string.
param5 Parameter recognised by custom validator. Defaults to empty string.
processNoValue If true, can adjust null value. Defaults to false.

This annotation applies a post-conversion adjuster, which comes after post-conversion adjuster and before list post-conversion adjuster and post-conversionvalidation, if any. It usually applies to single value fields but can apply to other kinds of field.

Applicable Field Types
Field type Converter type
Array or collection or converter recipient type   Applied to each, converted parameter value.
String array or collection Converter Applied to each, converted parameter value.
String single value List converter Applied to each, converted parameter value.