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

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: None
    • Labels:
      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

            • Assignee:
              shuyang.zhou Shuyang Zhou
              Reporter:
              neil.griffin Neil Griffin
              Recent user:
              Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 18 weeks, 5 days ago

                Packages

                Version Package
                Master