Annotation Type CustomAdjuster
Defines how a raw form field value (whether on a Struts Action or model of ModelDriven Struts Action) that
should be modified before validation and conversion using a client supplied adjuster. The custom adjuster must
implement Adjuster, preferably extending AbstractCustomAdjusterSupport, 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 empty string. Defaults to false. |
This annotation applies an adjuster, which comes before validation and conversion, if any. It usually applies to single value fields but can apply to other kinds of field.
| Field type | Converter type | |
|---|---|---|
| Single value | Applied once to the single parameter value. | |
| Array or collection | Converter | Applied to each parameter value. |
| Array or collection | List converter | Applied once to the single parameter value. |
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details