[
https://issues.apache.org/jira/browse/MYFACES-2083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652313#action_12652313
]
Jan-Kees van Andel commented on MYFACES-2083:
---------------------------------------------
I think it was added in EDR 2, since I downloaded the latest JavaDocs from the
JSR 314 site.
The JavaDocs specified a PartialViewContext class, which is accessible from
FacesContext#getPartialViewContext(). This method (creates and) returns the
PartialViewContext for this request.
> FacesContext contains several unnecessary methods
> -------------------------------------------------
>
> Key: MYFACES-2083
> URL: https://issues.apache.org/jira/browse/MYFACES-2083
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-314
> Affects Versions: 2.0.0-alpha
> Reporter: Jan-Kees van Andel
> Attachments: FacesContext20.patch
>
>
> Several fields and methods are currently put in FacesContext, but should
> (according to the JSF 2.0 spec) be placed inside another class:
> PartialViewContext.
> They are:
> public static final String NO_PARTIAL_PHASE_CLIENT_IDS = "none";
> public static final String PARTIAL_EXECUTE_PARAM_NAME =
> "javax.faces.partial.execute";
> public static final String PARTIAL_RENDER_PARAM_NAME =
> "javax.faces.partial.render";
> public List<String> getExecutePhaseClientIds()
> public ResponseWriter getPartialResponseWriter()
> public List<String> getRenderPhaseClientIds()
> public void setExecutePhaseClientIds(List<String> executePhaseClientIds)
> public void setRenderAll(boolean renderAll)
> public void setRenderPhaseClientIds(List<String> renderPhaseClientIds)
> public boolean isAjaxRequest()
> public boolean isExecuteNone()
> public boolean isPostback()
> public boolean isRenderAll()
> public boolean isRenderNone()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.