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

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

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • 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/dependency javax.portlet.dependency=<name>;<scope>;<version>2
      • [2] Multiples of these properties may be used. This results in an array of values.
      Example portlet.xml usage
      <portlet>
      	...
      	<dependency>
      		<name>jquery</name>
      		<scope>com.jquery</scope>
      		<version>2.1.1</version>
      	</dependency>
      	<dependency>
      		<name>jsutil</name>
      		<scope>com.mycompany</scope>
      		<version>1.0.0</version>
      	</dependency>
      	...
      </portlet>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                7.1.x