Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## com.opensymphony.xwork2.validator.annotations
Annotation Type ValidationParameter

    @Target(value={METHOD,TYPE})
    @Retention(value=RUNTIME)
    public @interface ValidationParameter

The ValidationParameter annotation is used as a parameter for CustomValidators.

Annotation usage:

The annotation must embedded into CustomValidator annotations as a parameter.

Annotation parameters:

Parameter | Required | Default | Notes
--- | --- | --- | ---
name | yes |  | parameter name.
value | yes |  | parameter value.

Example code:

     @CustomValidator(
       type ="customValidatorName",
       fieldName = "myField",
       parameters = { @ValidationParameter( name = "paramName", value = "paramValue" ) }
     )

Author:
  jepjep, Rainer Hermanns

Required Element Summary
`String` | `name`
`String` | `value`

Element Detail

### name

    public abstract String name

### value

    public abstract String value

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2000–2017 Apache Software Foundation. All rights reserved.