|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.renderkit.core.xhtml.PartialPageUtils
public final class PartialPageUtils
Utility methods for Renderers which support partial page rendering.
Method Summary | |
---|---|
static org.apache.myfaces.trinidad.context.PartialPageContext |
createPartialPageContext(javax.faces.context.FacesContext context,
org.apache.myfaces.trinidad.context.RequestContext afContext)
|
static void |
forcePartialRendering(javax.faces.context.FacesContext context)
Force partial rendering on for requests that may not have sent a "partial" parameter. |
static boolean |
isPartialRenderingPass(org.apache.myfaces.trinidad.context.RenderingContext arc)
Returns true if we are performing a partial page render. |
static boolean |
isPartialRequest(javax.faces.context.FacesContext context)
|
static boolean |
isPPRActive(javax.faces.context.FacesContext context)
Test if PPR is active during rendering. |
static void |
markPPRActive(javax.faces.context.FacesContext context)
Mark that PPR is in fact active during rendering. |
static boolean |
supportsBlocking(org.apache.myfaces.trinidad.context.RenderingContext arc)
|
static boolean |
supportsPartialRendering(org.apache.myfaces.trinidad.context.RenderingContext arc)
Tests whether partial page rendering is supported for the current render. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isPartialRequest(javax.faces.context.FacesContext context)
public static void forcePartialRendering(javax.faces.context.FacesContext context)
public static org.apache.myfaces.trinidad.context.PartialPageContext createPartialPageContext(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RequestContext afContext)
public static boolean isPartialRenderingPass(org.apache.myfaces.trinidad.context.RenderingContext arc)
public static boolean supportsPartialRendering(org.apache.myfaces.trinidad.context.RenderingContext arc)
Partial page rendering is not supported on all user agents. This method returns false if partial page rendering is not supported by the agent associated with the provided RenderingContext.
This method returns false if the disable-partial-rendering configuration element is set to true. Otherwise, this method returns true. (PPR is considered accessible, so we do not check the accessibility mode)
public static boolean supportsBlocking(org.apache.myfaces.trinidad.context.RenderingContext arc)
public static boolean isPPRActive(javax.faces.context.FacesContext context)
public static void markPPRActive(javax.faces.context.FacesContext context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |