• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Query regarding PortletSession

 
raghu rama
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all I am new to Portlets,

Is there a way to set portlet session in jsp?

I am trying to set a portlet session in my JSP with the following code but it gives me org.apache.jasper.JasperException



Can anyone please tell me where i am going wrong?
Thank you in advance
 
Rehan Pathan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want to learn ipc portlet in liferay using event phase than visit following link.
It will help you.
ipc portlet in liferay
 
Komari raj
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Ragu,
in Liferay portletSession will be intiated at render time, so no need to declare PorteletSession Variable so you can use directly.
Please see the updated code below.



Thanks
Raju
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic