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

Support CDI bean portlet registration

    Details

      Description

      If a web archive contains a WEB-INF/beans.xml descriptor, then the portlet container will attempt to register all
      portlets annotated with @PortletConfiguration as well as any portlets defined in WEB-INF/portlet.xml as bean portlets.
      The FacesBridge must support bean portlet registration but requires the developer to use GenericFacesPortlet (or a
      class that extends GenericFacesPortlet). To this end, the GenericFacesPortlet class must be annotated with
      @javax.enterprise.context.ApplicationScoped which will ensure that the bean portlet is registered as a singleton.

        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:

                Packages

                Version Package
                facesbridge-api-5.0.0
                facesbridge-tck-5.0.0
                facesbridge-spec-5.0.0