-
Type:
Story
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 7.0.0 M6
-
Labels:
-
Git Pull Request:
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 />