Helper class for taking model data validation attributes and producing html attributes for form validation. Validation is currently implemented by the jquery-validation-engine.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
MAX_SIZE |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addValidationAttributes(WidgetRenderContext context) |
|
java.util.List |
getValidationCriteria(java.util.Map dataModel, java.util.Map viewModel, java.lang.Boolean edit) |
|
boolean |
isRequired(java.lang.Object dataModel, java.lang.Object model, java.lang.Object edit) |
|
boolean |
isValidatable(java.util.Map dataModel, java.util.Map viewModel, java.lang.Boolean edit)Returns true if the element rendered from the supplied model has the potential to be validated |
|
java.lang.String |
validationAttribute(java.lang.Object dataModel, java.lang.Object model, java.lang.Object edit) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns true if the element rendered from the supplied model has the potential to be validated