Package codetroopers.wicket.web.parsley.validator.ParsleyNumberValueValidationBehaviors

Examples of codetroopers.wicket.web.parsley.validator.ParsleyNumberValueValidationBehaviors.ParsleyMinValueValidationBehavior.onComponentTag()


     * we're using the existing behaviors to keep a correct DRYness
     */
    @Override
    public void modify(final FormComponent<?> component, final ComponentTag tag, final Min annotation) {
        final ParsleyMinValueValidationBehavior minValidator = new ParsleyMinValueValidationBehavior(annotation.value());
        minValidator.onComponentTag(component, tag);
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.