Class GenericDispatchedViewPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.exoplatform.commons.api.portlet.GenericDispatchedViewPortlet
- All Implemented Interfaces:
javax.portlet.EventPortlet,javax.portlet.Portlet,javax.portlet.PortletConfig,javax.portlet.ResourceServingPortlet
public class GenericDispatchedViewPortlet
extends javax.portlet.GenericPortlet
This is a generic and simple Portlet class that dispatches the view to a
JSP/HTML file. It allows to access Portlet preferences from HTTP Request
attributes too in render phase.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processAction, processEvent, render, serveResource
-
Constructor Details
-
GenericDispatchedViewPortlet
public GenericDispatchedViewPortlet()
-
-
Method Details
-
init
public void init(javax.portlet.PortletConfig config) throws javax.portlet.PortletException - Specified by:
initin interfacejavax.portlet.Portlet- Overrides:
initin classjavax.portlet.GenericPortlet- Throws:
javax.portlet.PortletException
-
doView
protected void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException - Overrides:
doViewin classjavax.portlet.GenericPortlet- Throws:
javax.portlet.PortletExceptionIOException
-