org.apache.myfaces.context.servlet
Class PartialViewContextImpl

java.lang.Object
  extended by javax.faces.context.PartialViewContext
      extended by org.apache.myfaces.context.servlet.PartialViewContextImpl

public class PartialViewContextImpl
extends PartialViewContext


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
PartialViewContextImpl(FacesContext context)
           
PartialViewContextImpl(FacesContext context, VisitContextFactory visitContextFactory)
           
 
Method Summary
 Collection<String> getExecuteIds()
           
 PartialResponseWriter getPartialResponseWriter()
           
 Collection<String> getRenderIds()
           
 boolean isAjaxRequest()
           
 boolean isExecuteAll()
           
 boolean isIFrameRequest()
          Extension for https://issues.apache.org/jira/browse/MYFACES-2841 internal extension which detects that the submit is an iframe request will be changed for the official version which will come in 2.1
 boolean isPartialRequest()
           
 boolean isRenderAll()
           
 void processPartial(PhaseId phaseId)
          process the partial response allowed phase ids according to the spec
 void release()
           
 void setPartialRequest(boolean isPartialRequest)
           
 void setRenderAll(boolean renderAll)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialViewContextImpl

public PartialViewContextImpl(FacesContext context)

PartialViewContextImpl

public PartialViewContextImpl(FacesContext context,
                              VisitContextFactory visitContextFactory)
Method Detail

isAjaxRequest

public boolean isAjaxRequest()
Specified by:
isAjaxRequest in class PartialViewContext

isExecuteAll

public boolean isExecuteAll()
Specified by:
isExecuteAll in class PartialViewContext

isPartialRequest

public boolean isPartialRequest()
Specified by:
isPartialRequest in class PartialViewContext

isRenderAll

public boolean isRenderAll()
Specified by:
isRenderAll in class PartialViewContext

isIFrameRequest

public boolean isIFrameRequest()
Extension for https://issues.apache.org/jira/browse/MYFACES-2841 internal extension which detects that the submit is an iframe request will be changed for the official version which will come in 2.1

Returns:
true if the current request is an iframe based ajax request

setPartialRequest

public void setPartialRequest(boolean isPartialRequest)
Specified by:
setPartialRequest in class PartialViewContext

setRenderAll

public void setRenderAll(boolean renderAll)
Specified by:
setRenderAll in class PartialViewContext

getExecuteIds

public Collection<String> getExecuteIds()
Specified by:
getExecuteIds in class PartialViewContext

getRenderIds

public Collection<String> getRenderIds()
Specified by:
getRenderIds in class PartialViewContext

getPartialResponseWriter

public PartialResponseWriter getPartialResponseWriter()
Specified by:
getPartialResponseWriter in class PartialViewContext

processPartial

public void processPartial(PhaseId phaseId)
process the partial response allowed phase ids according to the spec

Specified by:
processPartial in class PartialViewContext

release

public void release()
Specified by:
release in class PartialViewContext


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.