org.apache.wicket.markup.html.form
Class Form.ValidationVisitor
java.lang.Object
org.apache.wicket.markup.html.form.Form.ValidationVisitor
- All Implemented Interfaces:
- FormComponent.IVisitor
- Enclosing class:
- Form<T>
public abstract static class Form.ValidationVisitor
- extends Object
- implements FormComponent.IVisitor
Visitor used for validation
- Author:
- Igor Vaynberg (ivaynberg)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Form.ValidationVisitor
public Form.ValidationVisitor()
formComponent
public Object formComponent(IFormVisitorParticipant component)
- Description copied from interface:
FormComponent.IVisitor
- Called when visiting a form component
- Specified by:
formComponent
in interface FormComponent.IVisitor
- Parameters:
component
- The form component
- Returns:
- component
- See Also:
FormComponent.IVisitor.formComponent(org.apache.wicket.markup.html.form.IFormVisitorParticipant)
validate
public abstract void validate(FormComponent<?> formComponent)
- Callback that should be used to validate form component
- Parameters:
formComponent
-
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.