Package org.openfaces.util

Examples of org.openfaces.util.Finder


        String componentId = component.getClientId(getFacesContext());
        ClientValidationSupport cvs;
        if (renderToClientValidationSupport.containsKey(componentId)) {
            cvs = renderToClientValidationSupport.get(componentId);
        } else {
            Finder finder = new Finder(component) {
                public boolean test(UIComponent component) {
                    return component instanceof ClientValidationSupport;
                }
            };
            cvs = (ClientValidationSupport) finder.getComponent();
            renderToClientValidationSupport.put(componentId, cvs);
        }
        return cvs;
    }
View Full Code Here

TOP

Related Classes of org.openfaces.util.Finder

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.