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

ActionRequest - getParameter returning null

Details

    • 4

    Description

      Several of our custom portlets use the ActionRequest getParameter to read values that were submitted by a JSP. I have attempted to create a test portlet to demonstrate what I am seeing. The portlet is supposed to let you enter anything in the email text field and then when Submit is clicked it will print the value that was entered in the text field to the console using the value returned from ActionRequest.

      This works as I expect it to in Liferay 6.1. 6.2 returns null.

      Steps to reproduce:

      1.) Deploy attached TestActionResponse portlet
      2.) Add portlet to the page
      3.) Add any text to the Email field and click Submit

      Notice null is printed to the console. This should be the text entered in the field.

      Attachments

        Issue Links

          Activity

            People

              asikaer.alamujiang Asikaer Alamujiang (Inactive)
              jamie.sammons1 Jamie Sammons (Inactive)
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                7 years, 49 weeks ago

                Packages

                  Version Package
                  6.2.0 CE B1
                  6.2.0 CE B2
                  6.2.0 CE B3
                  6.2.0 CE RC1