public abstract class AbstractResourceRenderer extends ScriptStyleBaseRenderer
Modifier and Type | Field and Description |
---|---|
static String |
BUNDLE_ENDPOINT_PATH |
static String |
COMPONENTS_PATH |
protected static com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.Param[] |
EMPTY_PARAMS |
static String |
ENDPOINT_PATH
Deprecated.
since 7.10, use
BUNDLE_ENDPOINT_PATH instead. |
static String |
PAGE_ENDPOINT_PATH |
logger
Constructor and Description |
---|
AbstractResourceRenderer() |
Modifier and Type | Method and Description |
---|---|
protected com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.Param[] |
getParamList(javax.faces.component.UIComponent command) |
protected String |
getUrlWithParams(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String src) |
protected Resource |
resolveNuxeoResource(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String resource) |
protected String |
resolveNuxeoResourcePath(Resource resource) |
protected String |
resolveNuxeoResourceUrl(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String uri) |
protected String |
resolveResourceFromSource(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String src) |
protected String |
resolveResourceUrl(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String library,
String name) |
protected String |
resolveUrl(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Resolve url either from src, looking up resource in the war, either from JSF resources, given a name (and
optional library).
|
protected String |
resolveUrlWithTimestamp(javax.faces.component.UIComponent component,
String url) |
decode, encodeBegin, encodeChildren, encodeChildren, encodeEnd, endElement, getRendersChildren, processEvent, startElement, verifyTarget
public static final String BUNDLE_ENDPOINT_PATH
@Deprecated public static final String ENDPOINT_PATH
BUNDLE_ENDPOINT_PATH
instead.public static final String PAGE_ENDPOINT_PATH
public static final String COMPONENTS_PATH
protected static final com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.Param[] EMPTY_PARAMS
public AbstractResourceRenderer()
protected String resolveUrl(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
IOException
protected String resolveUrlWithTimestamp(javax.faces.component.UIComponent component, String url)
protected String resolveResourceFromSource(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String src) throws UnsupportedEncodingException
UnsupportedEncodingException
protected Resource resolveNuxeoResource(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String resource) throws UnsupportedEncodingException
UnsupportedEncodingException
protected String resolveNuxeoResourcePath(Resource resource)
protected String resolveNuxeoResourceUrl(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String uri) throws UnsupportedEncodingException
UnsupportedEncodingException
protected String resolveResourceUrl(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String library, String name)
protected String getUrlWithParams(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String src) throws UnsupportedEncodingException
UnsupportedEncodingException
protected com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.Param[] getParamList(javax.faces.component.UIComponent command)
Copyright © 2018 Nuxeo. All rights reserved.