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

              Assignee:
              brian.chan Brian Chan
              Reporter:
              daniel.sanz Daniel Sanz
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 41 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.0 CE M6