|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implements the logic used by RequiredField
s for required field checking on rewind and
generating client-side logic during render.
Method Summary | |
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. |
Method Detail |
public void renderContributions(ValidatableField field, IMarkupWriter writer, IRequestCycle cycle)
public void validate(ValidatableField component, IMarkupWriter writer, IRequestCycle cycle, java.lang.Object value) throws ValidatorException
ValidatorException
- if validation failspublic boolean isRequired(ValidatableField field)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |