Annotation Type 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
| 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 conversion and before list post-conversion validation and post-conversion validation, if any. It only applies to array and collection fields.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends ListPostConversionAdjuster<CustomListPostConversionAdjuster, ?>> -
Optional Element Summary
Optional Elements
-
Element Details
-
adjusterClass
Class<? extends ListPostConversionAdjuster<CustomListPostConversionAdjuster,?>> adjusterClass -
param1
String param1- Default:
""
-
param2
String param2- Default:
""
-
param3
String param3- Default:
""
-
param4
String param4- Default:
""
-
param5
String param5- Default:
""
-
processNoValue
boolean processNoValue- Default:
false
-