}
}
}
protected void encodeResource(UIComponent component, FacesContext context, ResourceKey resource) throws IOException {
UIResource resourceComponent = new UIResource(component, resource.getResourceName(), resource.getLibraryName());
resourceComponent.encodeAll(context);
}