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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
     
    void
    init(javax.portlet.PortletConfig config)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GenericDispatchedViewPortlet

      public GenericDispatchedViewPortlet()
  • Method Details

    • init

      public void init(javax.portlet.PortletConfig config) throws javax.portlet.PortletException
      Specified by:
      init in interface javax.portlet.Portlet
      Overrides:
      init in class javax.portlet.GenericPortlet
      Throws:
      javax.portlet.PortletException
    • doView

      protected void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
      Overrides:
      doView in class javax.portlet.GenericPortlet
      Throws:
      javax.portlet.PortletException
      IOException