org.apache.myfaces.extensions.validator.core.validation
Annotation Type TargetProperty
@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
@Documented
public @interface TargetProperty
To specify which property should be used as constraint source (instead of the default naming convention).
If needed, this annotation can be replaced by a custom annotation to keep the implementation independent of ExtVal.
(see targetPropertyAnnotation in ExtValCoreConfiguration)
- Since:
- r4
- Author:
- Gerhard Petracek
- See Also:
ConstraintSource
|
Required Element Summary |
String |
value
property-name available at the target which should be used as constraint source |
value
public abstract String value
- property-name available at the target which should be used as constraint source
- Returns:
- property-name which has to exist at the target-cass
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.