view flys-client/src/main/java/de/intevation/flys/client/client/utils/Validator.java @ 4221:480de0dbca8e

Extended location input helper. The locationpicker has now an attribute whether the input is distance or location to display one or two clickable columns. Replaced the record click handler with cell click handler.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 23 Oct 2012 13:17:20 +0200
parents c21d14e48040
children
line wrap: on
line source
package de.intevation.flys.client.client.utils;

import java.util.Map;

import com.smartgwt.client.widgets.form.fields.FormItem;

/**
 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
 *
 * This validator is used for SmartGWT FormItems.
 */
public interface Validator {

    boolean validate(FormItem item, Map errors);
}

http://dive4elements.wald.intevation.org