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

OSGi fragment bundles overriding JSPs should be able to include the original JSP

    Details

      Description

      As portal user I would like to have the OSGi fragment bundles overriding JSPs should be able to include the original JSP when processing the resources in JSPServlet.

      e.g.

      When a first request will come and it will be to some path, let's say "a.jsp", but then another request will come and if the name is "a.original.jsp" first check if there is a native "a.jsp" in the main bundle, don't find any extensions, and just call the original

      Update
      I've added support for both portal and original so either one works.

      i.e. a hook jsp could look like this:

      <liferay-util:buffer var="html">
          <liferay-util:include page="/view.original.jsp" servletContext="<%= application %>" />
      </liferay-util:buffer>
      
      <h4>The original content was:</h4>
      <hr />
      <%= html %>
      <hr />
      

        Attachments

          Activity

            People

            Assignee:
            lawrence.lee Lawrence Lee
            Reporter:
            kamesh.sampath Kamesh Sampath (Inactive)
            Recent user:
            Kiyoshi Lee
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                7.0.0 M6