Uploaded image for project: 'PUBLIC - Liferay Portal Enterprise Edition'
  1. PUBLIC - Liferay Portal Enterprise Edition
  2. LPE-1204

New method to merge layoutURL with portalURL

Details

    Description

      There are many places where layoutURL needs to be merged with portalURL. In some circumstances, layoutURL already contains portalURL. Instead of doing the same logic in all of those places, we'll encapsulate that logic in a single method.

      The new methods in PortalUtil are:

      PortalUtil
      public static String getLayoutFullURL(Layout layout, ThemeDisplay themeDisplay)
      public static String getLayoutFullURL(Layout layout, ThemeDisplay themeDisplay, boolean doAsUser)
      public static String getLayoutFullURL(ThemeDisplay themeDisplay)
      ServiceContext
      public String getLayoutFullURL()
      public void setLayoutFullURL(String layoutFullURL)

      Attachments

        Issue Links

          Activity

            People

              douglas.wong Douglas Wong
              douglas.wong Douglas Wong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Packages

                  Version Package
                  5.1 EE SP4 (5.1.7)
                  5.2 EE SP2 (5.2.6)