public class ProgressiveCommandButtonRenderer extends BaseDojoComponentRenderer
Renderer
for the <sf:commandButton>
tag.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
ProgressiveCommandButtonRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Closes the tag after children have been rendered.
|
protected java.lang.String |
encodeParamsAsObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected java.util.Map |
getAttributeAliases(javax.faces.component.UIComponent component) |
protected java.util.Map |
getAttributeCallbacks(javax.faces.component.UIComponent component) |
protected java.lang.String[] |
getAttributesToRender(javax.faces.component.UIComponent component) |
protected java.lang.String |
getOnClickNoAjax(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
This is a hook for subclasses to provide special onclick behavior in the non-ajax case
|
protected java.lang.String |
getRenderedTagName(javax.faces.component.UIComponent component) |
boolean |
getRendersChildren() |
protected void |
writeAttributes(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Writes the attributes for this tag.
|
encodeBegin
protected java.util.Map getAttributeCallbacks(javax.faces.component.UIComponent component)
getAttributeCallbacks
in class BaseComponentRenderer
protected java.lang.String getOnClickNoAjax(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
protected java.lang.String[] getAttributesToRender(javax.faces.component.UIComponent component)
protected java.lang.String getRenderedTagName(javax.faces.component.UIComponent component)
component
- TODOpublic void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
protected java.lang.String encodeParamsAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
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 java.util.Map getAttributeAliases(javax.faces.component.UIComponent component)