Example usage for org.apache.wicket.validation IValidator interface-usage

List of usage examples for org.apache.wicket.validation IValidator interface-usage

Introduction

In this page you can find the example usage for org.apache.wicket.validation IValidator interface-usage.

Usage

From source file au.org.theark.lims.web.component.subjectlims.subject.form.SubjectValidator.java

public class SubjectValidator implements IValidator<Long> {

    private static final long serialVersionUID = -5915383351087650967L;

    /*
     * (non-Javadoc)

From source file au.org.theark.study.web.component.managestudy.StudyLogoValidator.java

public class StudyLogoValidator implements IValidator<List<FileUpload>> {

    private static final long serialVersionUID = -8116224338791429342L;
    public static final List<String> fileExtensions = Arrays.asList("jpg", "gif", "jpeg", "png");
    public static final Bytes fileSize = Bytes.kilobytes(au.org.theark.study.web.Constants.STUDY_LOGO_FILESIZE_KB);
    private SerializableBufferedImage image;

From source file com.alfredmuponda.lostandfound.util.DateValidator.java

/**
 *
 * @author Alfred
 */
public class DateValidator implements IValidator {
    private static final Pattern CELL = Pattern.compile("[0][0-9]{9}");

From source file com.alfredmuponda.lostandfound.util.ItemNumberValidator.java

/**
 *
 * @author Alfred
 */
public class ItemNumberValidator implements IValidator {

From source file com.alfredmuponda.lostandfound.util.PhoneNumberValidator.java

/**
 *
 * @author Alfred
 */
public class PhoneNumberValidator implements IValidator {
    private static final Pattern CELL = Pattern.compile("[0][0-9]{9}");

From source file com.alfredmuponda.lostandfound.util.UsernameValidator.java

/**
 *
 * @author Alfred
 */
public class UsernameValidator implements IValidator {
    SearchItem search = new SearchItem();

From source file com.chitek.wicket.listeditor.UniqueListItemValidator.java

@SuppressWarnings("serial")
public class UniqueListItemValidator<T> implements IValidator<T> {

    private FormComponent<T> parent;
    private String messageKey;
    private List<String> filter;

From source file com.chitek.wicket.NonMatchStringValidator.java

/**
 * This validator accepts all Strings that do not match any of the given Strings.
 * If the input matches (ignoring case) any of the given Strings, then an error message will
 * be generated with the key "StringValidator.noMatch".
 * 
 * @author chi

From source file com.commafeed.frontend.pages.RfcCompliantEmailAddressValidator.java

/**
 * Validator for validating email addresses according to the RFC 822. This validator uses the
 * regular expression taken from the Perl implementation of RFC 822.
 * <p>
 * Most users will be satisfied with the {@link EmailAddressValidator}
 * </p>

From source file com.premiumminds.webapp.wicket.validators.HibernateValidatorProperty.java

public class HibernateValidatorProperty implements IValidator<Object> {
    private static final long serialVersionUID = -4761422631335653016L;

    private IModel<?> beanModel;
    private String propertyName;