org.openfaces.ajax
Class PartialViewContext

java.lang.Object
  extended by javax.faces.context.PartialViewContext
      extended by javax.faces.context.PartialViewContextWrapper
          extended by org.openfaces.ajax.PartialViewContext
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.context.PartialViewContext>

public class PartialViewContext
extends javax.faces.context.PartialViewContextWrapper


Field Summary
 
Fields inherited from class javax.faces.context.PartialViewContext
ALL_PARTIAL_PHASE_CLIENT_IDS, PARTIAL_EXECUTE_PARAM_NAME, PARTIAL_RENDER_PARAM_NAME
 
Constructor Summary
PartialViewContext(javax.faces.context.PartialViewContext wrapped)
           
 
Method Summary
static javax.faces.component.UIComponent findComponentById(javax.faces.component.UIComponent parent, java.lang.String id, boolean preProcessDecodesOnTables, boolean preRenderResponseOnTables, boolean checkComponentPresence)
           
static javax.faces.component.UIComponent findComponentById(javax.faces.component.UIComponent parent, java.lang.String id, boolean preProcessDecodesOnTables, boolean preRenderResponseOnTables, boolean checkComponentPresence, java.util.List<java.lang.Runnable> restoreDataPointerRunnables)
           
static InitScript getCombinedAjaxInitScripts(javax.faces.context.FacesContext context)
           
 java.util.Collection<java.lang.String> getExecuteIds()
           
 javax.faces.context.PartialResponseWriter getPartialResponseWriter()
           
 java.util.Collection<java.lang.String> getRenderIds()
           
 java.util.Collection<java.lang.String> getRenderIdsNotRenderedYet(javax.faces.context.FacesContext context)
           
 javax.faces.context.PartialViewContext getWrapped()
           
static void handleSessionExpirationOnEncodeChildren(javax.faces.context.FacesContext context)
           
 boolean isRenderAll()
           
static java.lang.String processAjaxExecutePhase(javax.faces.context.FacesContext context)
           
 void processPartial(javax.faces.event.PhaseId phaseId)
           
 void renderAdditionalPartialResponse()
           
static void restoreWriter(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter originalWriter)
           
 void setPartialRequest(boolean isPartialRequest)
           
static javax.faces.context.ResponseWriter substituteResponseWriter(javax.faces.context.FacesContext context, java.io.Writer innerWriter)
           
 
Methods inherited from class javax.faces.context.PartialViewContextWrapper
isAjaxRequest, isExecuteAll, isPartialRequest, release, setRenderAll
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialViewContext

public PartialViewContext(javax.faces.context.PartialViewContext wrapped)
Method Detail

getPartialResponseWriter

public javax.faces.context.PartialResponseWriter getPartialResponseWriter()
Overrides:
getPartialResponseWriter in class javax.faces.context.PartialViewContextWrapper

getWrapped

public javax.faces.context.PartialViewContext getWrapped()
Specified by:
getWrapped in interface javax.faces.FacesWrapper<javax.faces.context.PartialViewContext>
Overrides:
getWrapped in class javax.faces.context.PartialViewContextWrapper

setPartialRequest

public void setPartialRequest(boolean isPartialRequest)
Specified by:
setPartialRequest in class javax.faces.context.PartialViewContext

processPartial

public void processPartial(javax.faces.event.PhaseId phaseId)
Overrides:
processPartial in class javax.faces.context.PartialViewContextWrapper

isRenderAll

public boolean isRenderAll()
Overrides:
isRenderAll in class javax.faces.context.PartialViewContextWrapper

getExecuteIds

public java.util.Collection<java.lang.String> getExecuteIds()
Overrides:
getExecuteIds in class javax.faces.context.PartialViewContextWrapper

getRenderIds

public java.util.Collection<java.lang.String> getRenderIds()
Overrides:
getRenderIds in class javax.faces.context.PartialViewContextWrapper

getRenderIdsNotRenderedYet

public java.util.Collection<java.lang.String> getRenderIdsNotRenderedYet(javax.faces.context.FacesContext context)

renderAdditionalPartialResponse

public void renderAdditionalPartialResponse()

getCombinedAjaxInitScripts

public static InitScript getCombinedAjaxInitScripts(javax.faces.context.FacesContext context)

handleSessionExpirationOnEncodeChildren

public static void handleSessionExpirationOnEncodeChildren(javax.faces.context.FacesContext context)
                                                    throws java.io.IOException
Throws:
java.io.IOException

substituteResponseWriter

public static javax.faces.context.ResponseWriter substituteResponseWriter(javax.faces.context.FacesContext context,
                                                                          java.io.Writer innerWriter)

restoreWriter

public static void restoreWriter(javax.faces.context.FacesContext context,
                                 javax.faces.context.ResponseWriter originalWriter)

processAjaxExecutePhase

public static java.lang.String processAjaxExecutePhase(javax.faces.context.FacesContext context)

findComponentById

public static javax.faces.component.UIComponent findComponentById(javax.faces.component.UIComponent parent,
                                                                  java.lang.String id,
                                                                  boolean preProcessDecodesOnTables,
                                                                  boolean preRenderResponseOnTables,
                                                                  boolean checkComponentPresence)

findComponentById

public static javax.faces.component.UIComponent findComponentById(javax.faces.component.UIComponent parent,
                                                                  java.lang.String id,
                                                                  boolean preProcessDecodesOnTables,
                                                                  boolean preRenderResponseOnTables,
                                                                  boolean checkComponentPresence,
                                                                  java.util.List<java.lang.Runnable> restoreDataPointerRunnables)


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.