Example usage for org.apache.wicket.markup.html.form.validation AbstractFormValidator subclass-usage

List of usage examples for org.apache.wicket.markup.html.form.validation AbstractFormValidator subclass-usage

Introduction

In this page you can find the example usage for org.apache.wicket.markup.html.form.validation AbstractFormValidator subclass-usage.

Usage

From source file ca.travelagency.customer.CustomerDuplicateValidator.java

public class CustomerDuplicateValidator extends AbstractFormValidator {
    private static final long serialVersionUID = 1L;

    static final String KEY = "CustomerDuplicateValidator";
    static final String DATE_OF_BIRTH = "dateOfBirth";
    static final String PRIMARY_PHONE = "primaryPhone";

From source file com.evolveum.midpoint.web.page.admin.server.dto.ScheduleValidator.java

public class ScheduleValidator extends AbstractFormValidator {

    private static final Trace LOGGER = TraceManager.getTrace(ScheduleValidator.class);

    private AjaxCheckBox recurring;
    private AjaxCheckBox bound;

From source file com.evolveum.midpoint.web.page.admin.server.dto.StartEndDateValidator.java

public class StartEndDateValidator extends AbstractFormValidator {

    private DateTimeField notBefore;
    private DateTimeField notAfter;

    public StartEndDateValidator(DateTimeField notBefore, DateTimeField notAfter) {

From source file com.evolveum.midpoint.web.page.admin.server.dto.TsaValidator.java

public class TsaValidator extends AbstractFormValidator {

    private CheckBox runUntilNodeDown;
    private DropDownChoice threadStop;

    public TsaValidator(CheckBox runUntilNodeDown, DropDownChoice threadStop) {

From source file com.evolveum.midpoint.web.util.DateValidator.java

/**
 * @author lazyman
 */
public class DateValidator extends AbstractFormValidator {

    private ItemPath identifier;

From source file com.pushinginertia.wicket.core.form.behavior.RealFullNameValidator.java

/**
 * Performs validation on inputs for first and family names, ensuring that the following rules are followed.
 * <ul>
 *     <li>they are each at least two characters (unless CJK characters are present - see below)</li>
 *     <li>one of the characters in each name is not a period</li>
 *     <li>they are not the same values (regardless of case)</li>

From source file com.pushinginertia.wicket.core.form.validation.NotEqualInputValidator.java

/**
 * Validates that the input of two form components are not identical. Errors are reported on the second
 * form component with key 'NotEqualInputValidator'.
 * @see org.apache.wicket.markup.html.form.validation.EqualInputValidator
 */
public class NotEqualInputValidator extends AbstractFormValidator {

From source file com.zenika.wicket.contrib.jsr303validators.JSR303FormValidator.java

/**
 * Validates a form and its components.
 * 
 * <p>
 * When this validator is added to a form, a visit to all of its components is
 * performed by a

From source file de.alpharogroup.wicket.behaviors.validators.DateRangeFormValidator.java

/**
 * The class {@link DateRangeFormValidator} can validate two {@link Date} objects from the two
 * {@link FormComponent}'s given to this validator.
 * 
 * <br><br><br>
 * Example: <br><br>

From source file eu.uqasar.web.pages.qmtree.metric.QMMetricFormValidator.java

public class QMMetricFormValidator extends AbstractFormValidator {

    /**
     * 
     */
    private static final long serialVersionUID = -5087173050403582944L;