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

    • 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

              michael.saechang Michael Saechang
              tejas.kanani Tejas Kanani (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 24 weeks, 6 days ago

                Packages

                  Version Package