Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing Liferay User object for logged-in user

 
Shantanu Puranik
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Rich,
I've recently started working on Vaadin(6.6.4) based portlets on Liferay (6.0.6) using Tomcat.
Does your new book includes contents realted to Vaadin based portlets?

As of now I'm facing trouble in accessing Liferay User object for logged-in user.
My application class implements PortletRequestListener and PortletListener interfaces.
Corresponding methods implemented has following code:


This code is not working at my end.
Any clue on this?
 
Rich Sezov
Author
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to try getting the User out of the ThemeDisplay or ServiceContext objects instead. That always works for me.

--Rich
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic