Examples of FacesComponentUsage


Examples of com.sun.faces.application.annotation.FacesComponentUsage

        }
       
        // Check the cache maintained by our superclass...
        boolean containsTagHandler = super.containsTagHandler(ns, localName);
        if (!containsTagHandler) {
            FacesComponentUsage matchingFacesComponentUsage =
                    findFacesComponentUsageForLocalName(ns, localName);
            containsTagHandler = null != matchingFacesComponentUsage;
           
        }
        return containsTagHandler;
View Full Code Here

Examples of com.sun.faces.application.annotation.FacesComponentUsage

        }
        return containsTagHandler;
    }
   
    private FacesComponentUsage findFacesComponentUsageForLocalName(String ns, String localName) {
        FacesComponentUsage result = null;
       
        Util.notNull("namespace", ns);
        Util.notNull("tagName", localName);
       
        if (!ns.equals(this.getNamespace())) {
View Full Code Here

Examples of com.sun.faces.application.annotation.FacesComponentUsage

    @Override
    public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException {
        assert(containsTagHandler(ns, localName));
        TagHandler result = super.createTagHandler(ns, localName, tag);
        if (null == result) {
            FacesComponentUsage facesComponentUsage =
                    findFacesComponentUsageForLocalName(ns, localName);
            String componentType = facesComponentUsage.getAnnotation().value();

            if (null == componentType || 0 == componentType.length()) {
                componentType = facesComponentUsage.getTarget().getSimpleName();
                componentType = Character.toLowerCase(componentType.charAt(0)) +
                        componentType.substring(1);
            }
           
            UIComponent throwAwayComponent = FacesContext.getCurrentInstance().
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.