PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-28780

CLONE - replace "http://java.sun.com/portlet_2_0" and "http://java.sun.com/portlet"

    Details

    • Similar Issues:
      Show 5 results 

      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

        Activity

        Hide
        Remke Rutgers added a comment -

        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.

        Show
        Remke Rutgers added a comment - 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.
        Hide
        Mika Koivisto added a comment - - edited

        There is a liferay-portlet_2_0.tld that defines uri http://java.sun.com/portal_2_0 and web.xml has reference to uri http://java.sun.com/portal_2_0. This is verified to be no longer an issue in 6.2.x.

        Show
        Mika Koivisto added a comment - - edited There is a liferay-portlet_2_0.tld that defines uri http://java.sun.com/portal_2_0 and web.xml has reference to uri http://java.sun.com/portal_2_0 . This is verified to be no longer an issue in 6.2.x.
        Hide
        Edward Gonzales added a comment -

        Hello everyone! We are in the process of removing component "Liferay TagLib" from LPS issues that contain more than one component. For issues that only have "Liferay TagLib", we plan to move to them to "Tools > Portal Taglibs". In the end, "Liferay TagLib" will be deprecated. Please make the necessary adjustments to your filters. Thanks!

        Show
        Edward Gonzales added a comment - Hello everyone! We are in the process of removing component "Liferay TagLib" from LPS issues that contain more than one component. For issues that only have "Liferay TagLib", we plan to move to them to "Tools > Portal Taglibs". In the end, "Liferay TagLib" will be deprecated. Please make the necessary adjustments to your filters. Thanks!

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 6 weeks ago

              Development

                Structure Helper Panel