Package org.richfaces.component

Examples of org.richfaces.component.AbstractGraphValidator


    @Override
    public void applyNextHandler(FaceletContext ctx, UIComponent c) throws IOException, FacesException, ELException {
        super.applyNextHandler(ctx, c);
        if (c instanceof AbstractGraphValidator) {
            AbstractGraphValidator graphValidator = (AbstractGraphValidator) c;
            FacesContext facesContext = ctx.getFacesContext();
            SetupValidatorsParameter parameterObject = new SetupValidatorsParameter(graphValidator, getBuiltInBeanValidatorClass(facesContext), graphValidator.getGroups());
            if (c.isInView()) {
                setupValidators(parameterObject, c);
            } else {
                c.subscribeToEvent(PostAddToViewEvent.class, new FacesBeanValidatorAddListener(parameterObject));
            }
View Full Code Here

TOP

Related Classes of org.richfaces.component.AbstractGraphValidator

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.