Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-3067

Remove HeadResponseWriter feature from the 7.x and 6.x branches of liferay-faces-bridge-ext.git

    Details

      Description

      When Liferay Portal begins to support the Portlet 3.0 HEADER_PHASE, then the following files should be removed from the 7.x and 6.x branches of liferay-faces-bridge-ext.git:

      src/main/java/com/liferay/faces/bridge/ext/context/internal/HeadResponseWriterBase.java
      src/main/java/com/liferay/faces/bridge/ext/context/internal/HeadResponseWriterFactoryLiferayImpl.java
      src/main/java/com/liferay/faces/bridge/ext/context/internal/HeadResponseWriterLiferayCompatImpl.java src/main/java/com/liferay/faces/bridge/ext/context/internal/HeadResponseWriterLiferayImpl.java

      In addition, the <bridge:head-response-writer-factory>...</bridge:head-response-writer-factory> entry should be removed from the following file:
      src/main/resources/META-INF/faces-config.xml

      The reason why this is necessary is because the Portlet 3.0 versions of the FacesBridge are required to use the HeaderResponse.addDependency(...) mechanism for adding resources (see FACES-2696). Since this functionality his handled in the liferay-faces-bridge-impl.git, it will not be necessary to have any type of extension in liferay-faces-bridge-ext.git.

        Attachments

          Activity

            People

            Assignee:
            kyle.stiemann Kyle Stiemann (Inactive)
            Reporter:
            neil.griffin Neil Griffin
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                bridge-ext-7.0.0
                bridge-ext-8.0.0