org.apache.myfaces.context.servlet
Class PartialViewContextImpl
java.lang.Object
javax.faces.context.PartialViewContext
org.apache.myfaces.context.servlet.PartialViewContextImpl
public class PartialViewContextImpl
- extends PartialViewContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PartialViewContextImpl
public PartialViewContextImpl(FacesContext context)
PartialViewContextImpl
public PartialViewContextImpl(FacesContext context,
VisitContextFactory visitContextFactory)
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 © 2013 The Apache Software Foundation. All Rights Reserved.