31 lines
1018 B
Java
31 lines
1018 B
Java
|
|
package org.gcube.portlets.user.socialprofile.server.portlet;
|
|
|
|
import java.io.IOException;
|
|
|
|
import javax.portlet.ActionRequest;
|
|
import javax.portlet.ActionResponse;
|
|
import javax.portlet.GenericPortlet;
|
|
import javax.portlet.PortletException;
|
|
import javax.portlet.PortletRequestDispatcher;
|
|
import javax.portlet.RenderRequest;
|
|
import javax.portlet.RenderResponse;
|
|
|
|
/**
|
|
* WfTemplatesPortlet Portlet Class
|
|
*
|
|
* @author Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it
|
|
* @version May 2011 (0.1)
|
|
*/
|
|
public class SocialProfilePortlet extends GenericPortlet {
|
|
public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException {
|
|
response.setContentType("text/html");
|
|
PortletRequestDispatcher dispatcher = getPortletContext().getRequestDispatcher("/WEB-INF/jsp/SocialProfile_view.jsp");
|
|
dispatcher.include(request, response);
|
|
}
|
|
|
|
public void processAction(ActionRequest request, ActionResponse response)
|
|
throws PortletException, IOException {
|
|
}
|
|
}
|