Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: No Longer Reproducible
-
Affects Version/s: 6.1.1 CE GA2
-
Fix Version/s: 6.2.0 CE M4
-
Component/s: Tools, Tools > Portal Taglibs
-
Labels:None
-
Environment:At revision 73506
-
Similar Issues:
Description
"http://java.sun.com/portlet_2_0" and "http://java.sun.com/portlet" does not exist anymore.
prefix="portlet" for both JSR168 and JSR286 needs new taglib uri.
For example
/portal-web/docroot/html/common/init.jsp
default: <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %>
it has an incorrect taglib reference that causes eclipse to mark an error:
http://java.sun.com/portlet_2_0 does not exist

This is a clone of
LPS-15417.That issue was closed due to inactivity, but I think the same issue is still present.
The liferay-portlet.tld file present in util-taglib.jar contains the uri: <uri>http://java.sun.com/portlet</uri>
That may be fine if you want to use portlet 1.0 tags only, but is not correct for portlet 2.0 additions. (<porlet:resourceURL> as an example).
I think the correct way to serve both portlet 1.0 developers AND portlet 2.0 developers is to provide 2 different tld's, each with the appropriate uri.