Annotation Type ActionParam
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface ActionParam
Indicates anActionMethod
method parameter.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
constraintName
java.lang.String
displayLabel
boolean
mandatory
java.lang.String
type
The qualified name of the parameter type.java.lang.String
value
The parameter name.
-
-
-
Element Detail
-
value
java.lang.String value
The parameter name.As with
ActionMethod
s, it is recommended to specify the name explicitly, preferably using a static String constant visible to code that invokes the action.If the parameter name is not specified, the parameter's Java variable name will be used instead. (The variable name is only available if classes are compiled with debug info.)
- Default:
- ""
-
-