|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.behavior.Behavior
org.apache.wicket.markup.html.form.validation.FormValidatorAdapter
public class FormValidatorAdapter
Adapts IFormValidator to Behavior
| Constructor Summary | |
|---|---|
FormValidatorAdapter(IFormValidator validator)
Constructor |
|
| Method Summary | |
|---|---|
FormComponent<?>[] |
getDependentFormComponents()
|
IFormValidator |
getValidator()
|
void |
validate(Form<?> form)
This method is ran if all components returned by IFormValidator.getDependentFormComponents() are valid. |
| Methods inherited from class org.apache.wicket.behavior.Behavior |
|---|
afterRender, beforeRender, bind, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onComponentTag, onConfigure, onEvent, onException, renderHead, unbind |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormValidatorAdapter(IFormValidator validator)
validator - | Method Detail |
|---|
public FormComponent<?>[] getDependentFormComponents()
getDependentFormComponents in interface IFormValidatorFormComponents that this validator depends onpublic void validate(Form<?> form)
IFormValidator.getDependentFormComponents() are valid.
validate in interface IFormValidatorform - form this validator is added topublic IFormValidator getValidator()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||