Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-43893

Can't call response.setRenderParameter from multiple event handlers

    Details

      Description

      When a portlet handles two events and calls response.setRenderParameter(...) in both event-handlers, only one of calls is actually persisted and will be available during render.

      Demo project to reproduce: https://github.com/olafk/multiple-events-portlet

      Expected behavior: When events are sent from the SenderPortlet, they shall always be shown (both) by the ReceiverPortlet.

      Erroneous behavior: Only the renderParameters for the eventhandler called last (as of System.out) are available on ReceiverPortlet.

        Attachments

          Activity

            People

            Assignee:
            olaf.kock Olaf Kock
            Reporter:
            olaf.kock Olaf Kock
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                6.1.30 EE GA3
                6.2.10 EE GA1