public class AjaxStatusRenderer
extends org.ajax4jsf.renderkit.RendererBase
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RENDERER_TYPE |
static java.lang.String |
START_STYLE |
Constructor and Description |
---|
AjaxStatusRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
doEncodeEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeSpan(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
java.lang.String id,
java.lang.String state,
java.lang.String tag)
Encode one span for start or stop status
|
protected java.lang.Class |
getComponentClass() |
protected java.lang.String |
getNamedAttribute(javax.faces.component.UIComponent component,
java.lang.String name,
java.lang.String state) |
boolean |
getRendersChildren() |
public static final java.lang.String RENDERER_TYPE
public static final java.lang.String START_STYLE
public void doEncodeEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
doEncodeEnd
in class org.ajax4jsf.renderkit.RendererBase
java.io.IOException
protected void encodeSpan(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.String id, java.lang.String state, java.lang.String tag) throws java.io.IOException
context
- - current contextcomponent
- - status componentstate
- - name of state ( start or stop ) for span.tag
- TODOjava.io.IOException
protected java.lang.String getNamedAttribute(javax.faces.component.UIComponent component, java.lang.String name, java.lang.String state)
component
- name
- name of attribute for current statestate
- 'start' or 'stop' . all dublicated attributes foe Ajax state
have same syntax : startStyle/stopStyle ...protected java.lang.Class getComponentClass()
getComponentClass
in class org.ajax4jsf.renderkit.RendererBase
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
Copyright © 2013. All Rights Reserved.