Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-73282 Implement Portlet 3.0
  3. LPS-81855

Portlet 3.0: Default to standards-based behavior for generating render data during a hub partial action

    Details

    • Type: Technical Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: None
    • Labels:
      None

      Description

      The Portlet 3.0 Specification requires that during a hub partial action that the serveResource(ResourceRequest,ResourceResponse) method must be invoked for the portlet that triggered the partial action.

      This issue serves as a task for ensuring that the only portlet that is invoked is the portlet that triggered the partial action. In addition, the following option can be set to true in order to enable individual portlets on the portal page layout to have their serveResource(ResourceRequest,ResourceResponse) method invoked as well, even if they didn't trigger the partial action:

      liferay-portlet.xml
      <liferay-portlet-app>
          <portlet>
              ...
              <!-- The default value for the following option is false -->
              <partial-action-serve-resource>true</partial-action-serve-resource>
              ...
          <portlet>
      </liferay-portlet-app>
      

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            neil.griffin Neil Griffin
            Recent user:
            Neil Griffin
            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, 8 weeks, 1 day ago

                Packages

                Version Package
                Master