Home » tapestry-src-5.0.19 » org.apache.tapestry5 » [javadoc | source]
public interface: FieldValidator [javadoc | source]

All Known Implementing Classes:
    FieldValidatorImpl, CompositeFieldValidator

Responsible for validation of a single field.
Method from org.apache.tapestry5.FieldValidator Summary:
isRequired,   render,   validate
Method from org.apache.tapestry5.FieldValidator Detail:
 public boolean isRequired()
 public  void render(MarkupWriter writer)
 public  void validate(T value) throws ValidationException
    Invoked after the client-submitted value has been translated to check that the value conforms to expectations (often, in terms of minimum or maximum value). If and only if the value is approved by all Validators is the value applied by the field.