org.apache.myfaces.context.servlet
Class PartialViewContextImpl
java.lang.Object
javax.faces.context.PartialViewContext
org.apache.myfaces.context.servlet.PartialViewContextImpl
public class PartialViewContextImpl
- extends javax.faces.context.PartialViewContext
Fields inherited from class javax.faces.context.PartialViewContext |
ALL_PARTIAL_PHASE_CLIENT_IDS, PARTIAL_EXECUTE_PARAM_NAME, PARTIAL_RENDER_PARAM_NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartialViewContextImpl
public PartialViewContextImpl(javax.faces.context.FacesContext context)
isAjaxRequest
public boolean isAjaxRequest()
- Specified by:
isAjaxRequest
in class javax.faces.context.PartialViewContext
isExecuteAll
public boolean isExecuteAll()
- Specified by:
isExecuteAll
in class javax.faces.context.PartialViewContext
isPartialRequest
public boolean isPartialRequest()
- Specified by:
isPartialRequest
in class javax.faces.context.PartialViewContext
isRenderAll
public boolean isRenderAll()
- Specified by:
isRenderAll
in class javax.faces.context.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 javax.faces.context.PartialViewContext
setRenderAll
public void setRenderAll(boolean renderAll)
- Specified by:
setRenderAll
in class javax.faces.context.PartialViewContext
getExecuteIds
public java.util.Collection<java.lang.String> getExecuteIds()
- Specified by:
getExecuteIds
in class javax.faces.context.PartialViewContext
getRenderIds
public java.util.Collection<java.lang.String> getRenderIds()
- Specified by:
getRenderIds
in class javax.faces.context.PartialViewContext
getPartialResponseWriter
public javax.faces.context.PartialResponseWriter getPartialResponseWriter()
- Specified by:
getPartialResponseWriter
in class javax.faces.context.PartialViewContext
processPartial
public void processPartial(javax.faces.event.PhaseId phaseId)
- process the partial response
allowed phase ids according to the spec
- Specified by:
processPartial
in class javax.faces.context.PartialViewContext
release
public void release()
- Specified by:
release
in class javax.faces.context.PartialViewContext
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.