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

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

Introduction

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

Usage

From source file ca.travelagency.components.validators.Validatable.java

class Validatable<T> implements IValidatable<T> {
    private boolean isValid = true;
    private T value;

    Validatable(T value) {
        this.value = value;

From source file com.senacor.wbs.web.user.EditAddressPanel.java

class ValidatableAdapter implements IValidatable {
    private final FormComponent formComponent;

    public ValidatableAdapter(final FormComponent formComponent) {
        this.formComponent = formComponent;
    }

From source file ontopoly.components.FieldInstanceDateField.java

public class FieldInstanceDateField extends TextField<String> implements ITextFormatProvider, IValidatable<String> {

    private FieldValueModel fieldValueModel;
    private String oldValue;
    private String cols = "10";
    private static final String DATE_FORMAT = "yyyy-MM-dd";

From source file org.geoserver.web.StringValidatable.java

/**
 * Helper class to test validators that need to validate a String object
 */
public class StringValidatable implements IValidatable {
    List<IValidationError> errors = new ArrayList<IValidationError>();
    String value;