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

Can't get a parameter from PortletRequest when the parameter is in GET and the war contains 2 portlets

    Details

      Description

      I developed a project containing 2 spring portlets sharing the same configuration files (portlet.xml, liferay-portlet.xml etc..), each of them properly configured.
      The WAR file takes the name from the first porltet.

      Passing a parameter as GET parameter for the secondo portlet, the URL parameters are composed like this one:
      http://URL?_PORTLETNAME2_WAR_PORTLETNAME1_param=param_value;
      Getting the parameters from PortletRequest (ActionRequest or RenderRequest), the params are always null.

      My REAL URL is :

      /group/control_panel/manage?p_auth=x4y7QRbF&p_p_id=RegistrationManagement_WAR_EventDetailsportlet&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&doAsGroupId=10180&refererPlid=10671&_RegistrationManagement_WAR_EventDetailsportlet_action=deregister&_RegistrationManagement_WAR_EventDetailsportlet_calEventRegistrationId=2001

      Please check the attached screenshot

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 5 weeks, 5 days ago

                Subcomponents