aspose file tools*
The moose likes Portals and Portlets and the fly likes Accessing Liferay User object for logged-in user Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Accessing Liferay User object for logged-in user " Watch "Accessing Liferay User object for logged-in user " New topic
Author

Accessing Liferay User object for logged-in user

Shantanu Puranik
Ranch Hand

Joined: Jun 10, 2004
Posts: 67
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?


--- Shantanu
Rich Sezov
Author
Greenhorn

Joined: Dec 13, 2006
Posts: 17
You might want to try getting the User out of the ThemeDisplay or ServiceContext objects instead. That always works for me.

--Rich
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Accessing Liferay User object for logged-in user