Class Form.ValidationVisitor

java.lang.Object
org.apache.wicket.markup.html.form.Form.ValidationVisitor
All Implemented Interfaces:
IVisitor<FormComponent<?>,Void>
Enclosing class:
Form<T>

public abstract static class Form.ValidationVisitor extends Object implements IVisitor<FormComponent<?>,Void>
Visitor used for validation
Author:
Igor Vaynberg (ivaynberg)
  • Constructor Details

  • Method Details

    • component

      public void component(FormComponent<?> formComponent, IVisit<Void> visit)
      Description copied from interface: IVisitor
      Called at each object in a visit.
      Specified by:
      component in interface IVisitor<FormComponent<?>,Void>
      Parameters:
      formComponent - Object being visited
      visit - Object used to control the visit/traversal
    • validate

      public abstract void validate(FormComponent<?> formComponent)
      Callback that should be used to validate form component
      Parameters:
      formComponent -