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

Automatically register Liferay Faces Portal StartupListener so that liferay-ui:input-editor works with zero-config

    Details

      Description

      The work done in FACES-296 introduced the com.liferay.faces.portal.listener.StartupListener class in order to copy the input-editor.jsp file from the liferay-faces-portal.jar dependency into the path of the webapp context. The task for this issue is to automate the registration of the listener, so that configuration in WEB-INF/web.xml is no longer required. This means that any portlet WAR that includes liferay-faces-portal.jar in WEB-INF/lib will report a message similar to the following at startup:

      22:48:08,121 INFO [StartupListener:66] Copied input-editor.jsp from LiferayFaces JAR to context path file=[/Users/username/liferay-portal-6.1.1/tomcat-7.0.27/temp/9-FACES-1439-portlet/resources/liferay-ui/jsp/input-editor.jsp]

        Attachments

          Issue Links

            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-3.0.2-legacy-ga3
                  liferay-faces-3.0.2-ga3
                  liferay-faces-3.1.2-ga3