Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-74114 Make Liferay compatible with version 2.0 tests in the Portlet 3.0 TCK
  3. LPS-74498

Portlet 3.0 TCK: PortletURLGenerationListener must be called before url's toString or write method

    Details

      Description

      Portlet Spec 13.6

      Portlets can register portlet URL generation listeners to filter URLs before they are generated using the BaseURL toString, write, or append (3.0 only) methods.

      and 13.6.1

      The PortletURLGenerationListener interface provides callbacks for each portlet URL type. If the portlet application has specified one or more PortletURLGenerationListener classes in the portlet deployment descriptor, the portlet container must call:

      • The filterActionURL method for all action URLs before executing the write, append, or toString method of these action URLs.
      • The filterRenderURL method for all render URLs before executing the write, append, or toString method of these render URLs.
      • The filterResourceURL method for all resource URLs before executing the write, append, or toString method of these resource URLs.

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            dante.wang Dante Wang
            Recent user:
            Csaba Turcsan
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 41 weeks, 2 days ago

                Packages

                Version Package
                7.0.0 DXP FP31
                7.0.5 CE GA6
                7.0.X
                Master