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

Move bridge alternative producers to a separate module

Details

    Description

      With FACES-3107, JSR 378 compliant versions of Liferay Faces Bridge were required to provide @Alternative CDI producers for Portlet 3.0 @Named beans that can be wrapped by factories.

      Registration for these alternative producers takes place in BridgeExtension.java

      However, due to the way Liferay integrates with CDI+OSGi, it is not possible to deploy a "thick" JSF WAR that relies on CDI+OSGi integration. When tried, it results in errors like the following:

      [ContainerState:93] CCR Discovery resulted in errors
      

      This issue serves as a task for moving the bridge alternative producers to a separate module. By doing so, it will make it possible for a "thick" JSF WAR to include WEB-INF/lib/com.liferay.faces.bridge.impl.jar not NOT include the new module containing the alternative producers.

      Attachments

        Activity

          People

            neil.griffin Neil Griffin
            neil.griffin Neil Griffin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Packages

                Version Package
                bridge-impl-5.0.1
                bridge-impl-6.0.1