public abstract class BaseSpringJavascriptComponentRenderer extends BaseComponentRenderer
Renderer for components that require the Spring JavaScript library on the client.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
BaseSpringJavascriptComponentRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Renders the opening portion of the tag, prior to any children.
|
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Closes the tag after children have been rendered.
|
protected java.util.Map |
getAttributeAliases(javax.faces.component.UIComponent component) |
protected abstract java.lang.String[] |
getAttributesToRender(javax.faces.component.UIComponent component) |
protected abstract java.lang.String |
getRenderedTagName(javax.faces.component.UIComponent component) |
protected void |
writeAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Writes the attributes for this tag.
|
getAttributeCallbackspublic BaseSpringJavascriptComponentRenderer()
public void encodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
java.io.IOExceptionprotected void writeAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
context - the current FacesContextcomponent - the UIComponent being renderedjava.io.IOExceptionpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
encodeEnd in class javax.faces.render.Rendererjava.io.IOExceptionprotected abstract java.lang.String getRenderedTagName(javax.faces.component.UIComponent component)
component - TODOprotected abstract java.lang.String[] getAttributesToRender(javax.faces.component.UIComponent component)
protected java.util.Map getAttributeAliases(javax.faces.component.UIComponent component)