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

Remove liferay-faces-init.jar module

    Details

      Description

      The liferay-faces-init.jar module enables zero-config registration of the Mojarra com.sun.faces.config.ConfigureListener or the MyFaces org.apache.myfaces.webapp.StartupServletContextListener. This would be necessary when the servlet container does not have the ability to discover these servlet context listeners via TLD scanning and the developer does not want to specify them as listeners in the WEB-INF/web.xml descriptor.

      According to the Liferay Faces Wiki article titled Deploying JSF Portlets on Jetty, the liferay-faces-init.jar dependency is only necessary on Jetty when Mojarra is specified in the WEB-INF/lib folder of the portlet's webapp context.

      Since the liferay-faces-init.jar module has not required any maintenance since it was created and older versions like liferay-faces-init-3.2.4-ga5.jar are available at Maven Central, this module can be removed from the source tree.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              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
                liferay-faces-2.1.5-ga6
                liferay-faces-2.2.5-ga6
                liferay-faces-3.0.5-legacy-ga6
                liferay-faces-3.0.5-ga6
                liferay-faces-3.1.5-ga6
                liferay-faces-3.2.5-ga6
                liferay-faces-4.2.5-ga6