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.
|
getAttributeCallbacks
public BaseSpringJavascriptComponentRenderer()
public void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
java.io.IOException
protected void writeAttributes(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
context
- the current FacesContext
component
- the UIComponent
being renderedjava.io.IOException
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class javax.faces.render.Renderer
java.io.IOException
protected 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)