Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-5352

Portlet Descriptor to OSGi Service Property Map documentation needs to document javax.portlet.listener

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Fix Version/s: 7.1.x
    • Component/s: Core Infrastructure
    • Labels:
      None

      Description

      The Portlet Descriptor to OSGi Service Property Map documentation needs to document the following mapping which is new for Liferay 7.1:

      XPath OSGi Portlet Service Property
      /portlet-app/portlet/listener javax.portlet.listener=<listener-class>;<ordinal>2
      • [2] Multiples of these properties may be used. This results in an array of values.
      Example portlet.xml usage
      <portlet>
      	...
      	<listener>
      		<listener-class>com.mycompany.MyPortletURLGenerationListener</listener-class>
      		<ordinal>1</ordinal>
      	</listener>
      	...
      </portlet>
      

      For more information, see: LPS-81778.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.1.x