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

    • Similar Issues:
      Show 4 results 

      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

        Activity

        Hide
        Mika Koivisto added a comment -

        If you need to pass parameters to other portlet use public render parameters.

        Show
        Mika Koivisto added a comment - If you need to pass parameters to other portlet use public render parameters.
        Hide
        Edward Gonzales added a comment -

        Hello everyone! We are in the process of removing component "Portlet" from LPS. Please make the necessary adjustments to affected filters. Thanks!

        Show
        Edward Gonzales added a comment - Hello everyone! We are in the process of removing component "Portlet" from LPS. Please make the necessary adjustments to affected 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, 19 weeks ago

              Development

                Structure Helper Panel