|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValidatableFieldSupport
Implements the logic used by Requireds 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,
Object value)
Called during rewind of the specified component. |
| Method Detail |
|---|
void renderContributions(ValidatableField field,
IMarkupWriter writer,
IRequestCycle cycle)
void validate(ValidatableField component,
IMarkupWriter writer,
IRequestCycle cycle,
Object value)
throws ValidatorException
ValidatorException - if validation failsboolean isRequired(ValidatableField field)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||