Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2083

FacesContext contains several unnecessary methods

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.0-alpha
    • Component/s: JSR-314
    • Labels:
      None

      Description

      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()

        Attachments

        1. FacesContext20.patch
          15 kB
          Jan-Kees van Andel

          Issue Links

            Activity

              People

              • Assignee:
                lothian Simon Lessard
                Reporter:
                jkva Jan-Kees van Andel
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: