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

JSR-286 Markup Head Elements are ignored when rendering a portlet

Details

    Description

      Portlets can set markup head elements using a mechanism described in JSR-286. Each portlet request keeps a record of all elements set during portlet lifecycle. Portlet container merges all of them into the HTTPServletRequest via PortletInvoker, which calls PortletResponseImpl.transferMarkupHeaders()

      This method should work with the real HTTPServletRequest but it gets a wrapped one (RestrictPortletServletRequest). As a result, the MimeResponse.MARKUP_HEAD_ELEMENT request attribute does not reach the real HTTPServletRequest, so the top_head.jsp component is unable to fill the corresponding <head> elements set by the portlet.

      Attachments

        Issue Links

          Activity

            People

              brian.chan Brian Chan
              daniel.sanz Daniel Sanz
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9 years, 33 weeks ago

                Packages

                  Version Package
                  6.2.0 CE M6