public class PartialViewContextImpl extends PartialViewContext
ALL_PARTIAL_PHASE_CLIENT_IDS, PARTIAL_EXECUTE_PARAM_NAME, PARTIAL_RENDER_PARAM_NAME
Constructor and Description |
---|
PartialViewContextImpl(FacesContext context) |
PartialViewContextImpl(FacesContext context,
VisitContextFactory visitContextFactory) |
Modifier and Type | Method and Description |
---|---|
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) |
public PartialViewContextImpl(FacesContext context)
public PartialViewContextImpl(FacesContext context, VisitContextFactory visitContextFactory)
public boolean isAjaxRequest()
isAjaxRequest
in class PartialViewContext
public boolean isExecuteAll()
isExecuteAll
in class PartialViewContext
public boolean isPartialRequest()
isPartialRequest
in class PartialViewContext
public boolean isRenderAll()
isRenderAll
in class PartialViewContext
public boolean isIFrameRequest()
public void setPartialRequest(boolean isPartialRequest)
setPartialRequest
in class PartialViewContext
public void setRenderAll(boolean renderAll)
setRenderAll
in class PartialViewContext
public Collection<String> getExecuteIds()
getExecuteIds
in class PartialViewContext
public Collection<String> getRenderIds()
getRenderIds
in class PartialViewContext
public PartialResponseWriter getPartialResponseWriter()
getPartialResponseWriter
in class PartialViewContext
public void processPartial(PhaseId phaseId)
processPartial
in class PartialViewContext
public void release()
release
in class PartialViewContext
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.