Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73282 Implement Portlet 3.0
  3. LPS-81983

Portlet 3.0: Deprecate usage of portal-kernel StringBundler in favor of petra stringBundler for OutputData and OutputTag

Details

    • Technical Task
    • Status: Closed
    • Minor
    • Resolution: Completed
    • None
    • Master
    • None
    • None

    Description

      This task involves refactoring the following classes to use petra StringBundler instead of portal-kernel StringBundler:

      • com.liferay.taglib.util.OutputTag
      • com.liferay.portal.kernel.servlet.taglib.util.OutputData

      This will make it possible for the PortletDependency.toStringBundler() method to return a petra StringBundler. For more info, see: LPS-80310.

      Note that any portlet modules that use the <liferay-util:html-top> JSP tag will need to add the following dependency in order for JSPs to compile:

      build.gradle
      dependencies {
              ...
              compileOnly project(":core:petra:petra-string")
              ...
      }
      

      OR

      pom.xml
          <dependency>
              <groupId>com.liferay</groupId>
              <artifactId>com.liferay.petra.string</artifactId>
              <version>1.2.0</version>
              <scope>provided</scope>
          </dependency>
      

      Attachments

        Activity

          People

            shuyang.zhou Shuyang Zhou
            neil.griffin Neil Griffin
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 3 days ago

              Packages

                Version Package
                Master