public interface ClientConstraintDescriptor
| Modifier and Type | Method and Description |
|---|---|
void |
applyClientValidation(MarkupWriter writer,
String message,
Map<String,Object> attributes)
Applies the validation
|
Class |
getAnnotationClass()
The annotation class that drives this descriptor.
|
Set<String> |
getAttributes()
Names of attributes from the
ConstraintDescriptor that are relevant. |
Class getAnnotationClass()
Set<String> getAttributes()
ConstraintDescriptor that are relevant.void applyClientValidation(MarkupWriter writer, String message, Map<String,Object> attributes)
writer - used to write new attributes into the HTML tag for the user interface elementmessage - error message to present to user when the constraint is violatedattributes - getAttributes() selected attributes} from the ConstraintDescriptor5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.