Package codetroopers.wicket.web.parsley.tagmodifier

Examples of codetroopers.wicket.web.parsley.tagmodifier.ParsleyPatternTagModifier


    private static void registerTagModifiers(BeanValidationConfiguration configuration) {
        configuration.register(Size.class, new ParsleySizeTagModifier());
        configuration.register(Min.class, new ParsleyMinTagModifier());
        configuration.register(Max.class, new ParsleyMaxTagModifier());
        configuration.register(NotNull.class, new ParsleyNotNullTagModifier());
        configuration.register(Pattern.class, new ParsleyPatternTagModifier());
        if (HV_EMAIL_CONSTRAINT != null) {
            //this is only added if hibernate validator is in the classpath
            configuration.register(HV_EMAIL_CONSTRAINT, new ParsleyEmailTagModifier());
        }
    }
View Full Code Here

TOP

Related Classes of codetroopers.wicket.web.parsley.tagmodifier.ParsleyPatternTagModifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.