public interface ValidatableFieldSupport
RequiredField
s for required field checking on rewind and
generating client-side logic during render.Modifier and Type | Method and Description |
---|---|
boolean |
isRequired(ValidatableField field)
Returns true if this component is required.
|
void |
renderContributions(ValidatableField field,
IMarkupWriter writer,
IRequestCycle cycle)
Called during render of the specified component.
|
void |
validate(ValidatableField component,
IMarkupWriter writer,
IRequestCycle cycle,
java.lang.Object value)
Called during rewind of the specified component.
|
void renderContributions(ValidatableField field, IMarkupWriter writer, IRequestCycle cycle)
void validate(ValidatableField component, IMarkupWriter writer, IRequestCycle cycle, java.lang.Object value) throws ValidatorException
ValidatorException
- if validation failsboolean isRequired(ValidatableField field)