Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-27160

Embeded borderless portlet in theme using portletSetupShowBorders is not working for first time page load

    Details

    • Fix Priority:
      3

      Description

      I am using Liferay 6.1.
      I am trying to embed a portlet in theme with borderless look and feel. For the same I've added below code in my vm file.

      $velocityPortletPreferences.setValue("portletSetupShowBorders", "false")
      $theme.runtime("breadcrumbportlet_WAR_breadcrumbportlet", $velocityPortletPreferences.toString())
      $velocityPortletPreferences.reset()

      It is working fine after first time page load. As on first page load its coming with border and after that if I refresh the page border is removed.

      Please let me know if you need more details.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 years, 32 weeks, 2 days ago

                  Packages

                  Version Package