Annotation Type CustomListPostConversionAdjuster


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

Defines how a form field value (whether on a Struts Action or model of ModelDriven Struts Action) that is an array or collection should be modified after conversion and post-conversion adjustment of individual entries but before post conversion validation using a client supplied adjuster. This is useful for adjusting the list as a whole, such as sorting or removing null entries. The custom adjuster must implement ListPostConversionAdjuster, preferably extending AbstractCustomListPostConversionAdjusterSupport, 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.
processNoValueIf true, can adjust null value. Defaults to false.

This annotation applies a post-conversion adjuster, which comes after conversion and before list post-conversion validation and post-conversion validation, if any. It only applies to array and collection fields.