org.apache.myfaces.custom.ppr
Class PPRPanelGroupRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGroupRendererBase
org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer
org.apache.myfaces.custom.ppr.PPRPanelGroupRenderer
public class PPRPanelGroupRenderer
- extends org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer
- Author:
- Ernst Fastl
|
Method Summary |
void |
encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
Renders the start of a span element. |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
todo: in 1.2, better use a combo of
invokeComponent/RendererUtils.renderChildren() instead |
void |
encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
Encodes the end of the span-element and afterwards the inline
JavaScript for the client side initialization of the
PPRPanelGroup. |
| Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGroupRendererBase |
getRendersChildren |
| Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer |
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUri |
| Methods inherited from class javax.faces.render.Renderer |
convertClientId, decode, getConvertedValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TRANSIENT_MARKER_ATTRIBUTE
public static final java.lang.String TRANSIENT_MARKER_ATTRIBUTE
- See Also:
- Constant Field Values
PPRPanelGroupRenderer
public PPRPanelGroupRenderer()
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
- Renders the start of a span element. Iterates over all child
components and sets transient components to transient=false. Those
components are marked with the TRANSIENT_MARKER_ATTRIBUTE so the
PPRPhaseListener can reset them to transient in the next
non-PPR Request
- Overrides:
encodeBegin in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGroupRendererBase
- Parameters:
facesContext - the current FacesContextuiComponent - the PPRPanelGroup to render
- Throws:
java.io.IOException
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws java.io.IOException
- todo: in 1.2, better use a combo of
invokeComponent/RendererUtils.renderChildren() instead
- Overrides:
encodeChildren in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlGroupRendererBase
- Parameters:
context - component -
- Throws:
java.io.IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent)
throws java.io.IOException
- Encodes the end of the span-element and afterwards the inline
JavaScript for the client side initialization of the
PPRPanelGroup.
- Overrides:
encodeEnd in class org.apache.myfaces.renderkit.html.ext.HtmlGroupRenderer
- Parameters:
facesContext - the current FacesContextuiComponent - the PPRPanelGroup to render
- Throws:
java.io.IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.