Class ValidatorTag

  • All Implemented Interfaces:
    ConditionalTag, PropertiesSupport, PropertySupport, org.apache.commons.jelly.DynaTag, org.apache.commons.jelly.impl.BeanSource, org.apache.commons.jelly.Tag

    public class ValidatorTag
    extends ValidatorBaseTag<Validator>

    A tag handler class for creating Validator objects and associating them with input components.

    The class of the validator can be defined either as a class name using the class attribute or by referencing an existing validator using the ref attribute. The phase attributes determines whether the validator should be used during field validation or form validation phase. Here a name from the ValidationPhase class can be specified.

    Version:
    $Id: ValidatorTag.java 205 2012-01-29 18:29:57Z oheger $
    Author:
    Oliver Heger
    • Constructor Detail

      • ValidatorTag

        public ValidatorTag()