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

portletsession variable in velocity(.vm) file

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Completed
    • Affects Version/s: 5.2.3
    • Fix Version/s: 5.2.3
    • Component/s: Application Security
    • Labels:
      None
    • Environment:
      tomcat,ext
    • Branch Version/s:
      5.2.x

      Description

      I am using liferay5.2.3, i kept a value(ProfileUser) in portletsession in a jsp page and trying to retrieve the same value in .vm file in the following fashion

      #set ($somePSAttribute = $request.get('ProfileUser').get('portlet-session').get('com.liferay.util.servlet.SessionMessages')) ##trying to retrieve and assign
      $somePSAttribute ##trying to print the value

      I am getting output as,

      $somePSAttribute

      Could anybody resolve this..?

      Rgds,
      simon

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 31 weeks ago

                Packages

                Version Package
                5.2.3