/** * <p class="changed_added_2_2">The default behavior of this method * is to call {@link ResourceHandler#createResourceFromId(String)} on the * wrapped {@link ResourceHandler} object.</p> * * @since 2.2 */ @Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
/** * <p class="changed_added_2_2">The default behavior of this method * is to call {@link ResourceHandler#createResourceFromId(String)} on the * wrapped {@link ResourceHandler} object.</p> * * @since 2.2 */ @Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
@Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
/** * <p class="changed_added_2_2">The default behavior of this method * is to call {@link ResourceHandler#createResourceFromId(String)} on the * wrapped {@link ResourceHandler} object.</p> * * @since 2.2 */ @Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
/** * <p class="changed_added_2_2">The default behavior of this method * is to call {@link ResourceHandler#createResourceFromId(String)} on the * wrapped {@link ResourceHandler} object.</p> * * @since 2.2 */ @Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
/** * <p class="changed_added_2_2"> * The default behavior of this method is to call * {@link ResourceHandler#createResourceFromId(String)} on the wrapped {@link ResourceHandler} * object. * </p> * * @since 2.2 */ @Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
/** * <p class="changed_added_2_2"> * The default behavior of this method is to call * {@link ResourceHandler#createResourceFromId(String)} on the wrapped {@link ResourceHandler} * object. * </p> * * @since 2.2 */ @Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
/** * <p class="changed_added_2_2"> * The default behavior of this method is to call * {@link ResourceHandler#createResourceFromId(String)} on the wrapped {@link ResourceHandler} * object. * </p> * * @since 2.2 */ @Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
/** * <p class="changed_added_2_2"> * The default behavior of this method is to call * {@link ResourceHandler#createResourceFromId(String)} on the wrapped {@link ResourceHandler} * object. * </p> * * @since 2.2 */ @Override public Resource createResourceFromId(String resourceId) { return getWrapped().createResourceFromId(resourceId); }
public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException { FacesContext facesContext = FacesContext.getCurrentInstance(); ResourceHandler resourceHandler = facesContext.getApplication().getResourceHandler(); Resource compositeComponentResourceWrapped = resourceHandler.createResourceFromId(resourceId); if (compositeComponentResourceWrapped != null) { Resource compositeComponentResource = new CompositeResouceWrapper(compositeComponentResourceWrapped); ComponentConfig componentConfig = new ComponentConfigWrapper(cfg, "javax.faces.NamingContainer", null); return new CompositeComponentResourceTagHandler(componentConfig, compositeComponentResource); } else { throw new FaceletException( "Error Instantiating Component from <resource-id> declaration: " + this.resourceId); } } }
public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException { ComponentConfig componentConfig = new ComponentConfigWrapper(cfg, "javax.faces.NamingContainer", "javax.faces.Composite"); ResourceHandler resourceHandler = FacesContext.getCurrentInstance().getApplication().getResourceHandler(); TagHandler result = null; // Use the naming convention to extract the library name and // component name from the resourceId. Resource resource = resourceHandler.createResourceFromId(resourceId); if (null != resource) { result = new CompositeComponentTagHandler(resource, componentConfig); } else { Location loc = new Location(resourceId, 0, 0); Tag tag = new Tag(loc, "", "", "", null); throw new TagException(tag, "Cannot create composite component tag handler for composite-source element in taglib.xml file"); } return result; } }
@Override public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException { ComponentConfig componentConfig = new ComponentConfigWrapper(cfg, "javax.faces.NamingContainer", "javax.faces.Composite"); ResourceHandler resourceHandler = FacesContext.getCurrentInstance().getApplication().getResourceHandler(); TagHandler result = null; // Use the naming convention to extract the library name and // component name from the resourceId. Resource resource = resourceHandler.createResourceFromId(resourceId); if (null != resource) { result = new CompositeComponentTagHandler(resource, componentConfig); } else { Location loc = new Location(resourceId, 0, 0); Tag tag = new Tag(loc, "", "", "", null); throw new TagException(tag, "Cannot create composite component tag handler for composite-source element in taglib.xml file"); } return result; } }
@Override public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException { ComponentConfig componentConfig = new ComponentConfigWrapper(cfg, "javax.faces.NamingContainer", "javax.faces.Composite"); ResourceHandler resourceHandler = FacesContext.getCurrentInstance().getApplication().getResourceHandler(); TagHandler result = null; // Use the naming convention to extract the library name and // component name from the resourceId. Resource resource = resourceHandler.createResourceFromId(resourceId); if (null != resource) { result = new CompositeComponentTagHandler(resource, componentConfig); } else { Location loc = new Location(resourceId, 0, 0); Tag tag = new Tag(loc, "", "", "", null); throw new TagException(tag, "Cannot create composite component tag handler for composite-source element in taglib.xml file"); } return result; } }
@Override public TagHandler createHandler(TagConfig cfg) throws FacesException, ELException { ComponentConfig componentConfig = new ComponentConfigWrapper(cfg, "javax.faces.NamingContainer", "javax.faces.Composite"); ResourceHandler resourceHandler = FacesContext.getCurrentInstance().getApplication().getResourceHandler(); TagHandler result = null; // Use the naming convention to extract the library name and // component name from the resourceId. Resource resource = resourceHandler.createResourceFromId(resourceId); if (null != resource) { result = new CompositeComponentTagHandler(resource, componentConfig); } else { Location loc = new Location(resourceId, 0, 0); Tag tag = new Tag(loc, "", "", "", null); throw new TagException(tag, "Cannot create composite component tag handler for composite-source element in taglib.xml file"); } return result; } }