Added PortalContext.setUser into doView
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@141664 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
e7097cb4c8
commit
69e3da2af0
|
@ -8,6 +8,8 @@ import javax.portlet.PortletRequestDispatcher;
|
|||
import javax.portlet.RenderRequest;
|
||||
import javax.portlet.RenderResponse;
|
||||
|
||||
import org.gcube.common.portal.PortalContext;
|
||||
|
||||
/**
|
||||
* The Class WorkspacePortlet.
|
||||
*
|
||||
|
@ -37,6 +39,7 @@ public class WorkspacePortlet extends GenericPortlet{
|
|||
public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException {
|
||||
System.out.println("LOADING ********* FROM "+VIEW_JSP);
|
||||
// Invoke the JSP to render
|
||||
PortalContext.setUserInSession(request);
|
||||
PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher(VIEW_JSP);
|
||||
rd.include(request,response);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue