-
Type:
Technical Task
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: 7.0.0 DXP FP35, 7.0.0 DXP SP7, 7.0.5 CE GA6, 7.0.X, Master
-
Component/s: None
-
Branch Version/s:7.0.x
-
Backported to Branch:Committed
-
Git Pull Request:
Test Result:
There is 1 failure in Portlet 3.0 TCK test V2PortletTagLibraryTests:
V2PortletTagLibraryTests_SPEC2_26_IncludeJSPGeneral_defineObjects3 Details: The version 1.0 tag library may be referenced using <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
Background:
According to Portlet Spec 3.0, Ch 26,
The portlet container must support taglib directives for older versions of the portlet tag library.
The table below shows corresponding example taglib directives for the Portlet Specification Version 1.0 and 2.0.
Version 2.0 <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> Version 1.0 <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet" %>
In order to support migration, JSPs included by newer portlet versions may reference older tag library versions. For example, a version 3.0 portlet may include a JSP that contains a version 2.0 taglib directive.
In Liferay, the portlet container didn't support the version 1.0 tag library.