Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-576

In JSF1.2, configurators should use setRequest and setResponse where possible

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-incubating-core-SNAPSHOT
    • Portlet
    • None
    • JSF1.2

    Description

      In JSF1.1, the configurators in trinidad would need to override the ExternalContext object in order to provide access to functionality on the native Request and Response. These wrappers simply overrode functionality impacted by the wrapped object. This was somewhat error prone and left a lot of room for issues. As of JSF 1.2 there are setRequest and setResponse methods on the ExternalContext which allows you to switch out these objects but still rely on the container's implementation. The JSF 1.2 version of Trinidad should use this mechanism where possible.

      Attachments

        1. 12-ADFFACES-374.patch
          40 kB
          Scott O'Bryan

        Activity

          People

            adamwiner Adam Winer
            darkarena Scott O'Bryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: