@Override public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException { TagHandler tagHandler = super.createTagHandler(ns, localName, tag); if (tagHandler == null && containsNamespace(ns) && _compositeLibraryName != null) { ResourceHandler resourceHandler = FacesContext.getCurrentInstance().getApplication().getResourceHandler(); String resourceName = localName + ".xhtml"; Resource compositeComponentResource = new CompositeResouceWrapper( resourceHandler.createResource(resourceName, _compositeLibraryName)); if (compositeComponentResource != null) { ComponentConfig componentConfig = new ComponentConfigWrapper(tag, "javax.faces.NamingContainer", null); return new CompositeComponentResourceTagHandler(componentConfig, compositeComponentResource); } } return tagHandler; }
@Override public TagHandler createTagHandler(String ns, String localName, TagConfig tag) throws FacesException { TagHandler tagHandler = super.createTagHandler(ns, localName, tag); if (tagHandler == null && containsNamespace(ns) && _compositeLibraryName != null) { ResourceHandler resourceHandler = FacesContext.getCurrentInstance().getApplication().getResourceHandler(); String resourceName = localName + ".xhtml"; Resource compositeComponentResource = new CompositeResouceWrapper( resourceHandler.createResource(resourceName, _compositeLibraryName)); if (compositeComponentResource != null) { ComponentConfig componentConfig = new ComponentConfigWrapper(tag, "javax.faces.NamingContainer", null); return new CompositeComponentResourceTagHandler(componentConfig, compositeComponentResource); } } return tagHandler; }
TagConfig tag) throws FacesException TagHandler tagHandler = super.createTagHandler(ns, localName, tag);