Annotation Type CustomAdjuster


@Documented @Inherited @Target(FIELD) @Retention(RUNTIME) public @interface 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

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.
  • Element Details

    • adjusterClass

      Class<? extends Adjuster<CustomAdjuster>> 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