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

Allow use of Liferay Provided CDI (instead of embedded Weld)

    Details

      Description

      This issue serves as an improvement task that will make it possible for a JSF WAR module to not bundle WEB-INF/weld-servlet.jar anymore. Instead, the JSF WAR would rely on the OSGi CDI Integration feature built-in to Liferay Portal 7.1, 7.2, and 7.3.

      In order for this to work, it will be necessary for a JSF portlet to "opt-in" to Portlet 3.0 using version="3.0" in WEB-INF/portlet.xml, and to not specify -cdiannotations: in WEB-INF/liferay-plugin-package.properties. If -cdiannotations is not present, then Liferay's OSGi CDI Integration feature will detect the presence of WEB-INF/beans.xml and attempt to register the portlet as a Portlet 3.0 "Bean Portlet" via CDI.

      Even though Liferay Faces Bridge 4.x is designed to work with Portlet 2.0 + JSF 2.2, Liferay Portal's OSGi CDI Integration feature will still work. In other words, it will not require Liferay Faces Bridge 5.x (Portlet 3.0 + JSF 2.2) or Liferay Faces Bridge 6.x (Portlet 3.0 + JSF 2.3).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  bridge-impl-4.2.0
                  bridge-api-4.2.0
                  util-3.4.0