@Override
  public void onConfigure(Component component) {
    super.onConfigure(component);

    if (hasBeenRendered == false) {
      hasBeenRendered = true;

      form.visitChildren(FormComponent.class, new FormValidateVisitor());
    }
  }
示例#2
0
  /** {@inheritDoc} */
  @Override
  public void onConfigure(final Component component) {
    super.onConfigure(component);

    cssClassNameModel.setObject(createCssClassNames());
  }