Class BaseJSPPanelApp

java.lang.Object
com.liferay.application.list.BasePanelApp
com.liferay.application.list.BaseJSPPanelApp
All Implemented Interfaces:
PanelApp, PanelEntry

public abstract class BaseJSPPanelApp extends BasePanelApp
Provides a skeletal implementation of the PanelApp with JSP support to minimize the effort required to implement this interface.

To implement a JSP application, this class should be extended and getJspPath() should be implemented, which returns a path for the main JSP application view in the current servlet context.

JSP applications are included within JSP application categories defined by BaseJSPPanelCategory implementations.

See Also:
  • Constructor Details

    • BaseJSPPanelApp

      public BaseJSPPanelApp()
  • Method Details

    • getJspPath

      public abstract String getJspPath()
    • include

      public boolean include(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException
      Description copied from interface: PanelApp
      Returns true if the application successfully renders.
      Specified by:
      include in interface PanelApp
      Overrides:
      include in class BasePanelApp
      Parameters:
      httpServletRequest - the servlet request used in the rendering process
      httpServletResponse - the servlet response used in the rendering process
      Returns:
      true if the application successfully renders; false otherwise
      Throws:
      IOException - if an IO exception occurred
    • getServletContext

      protected abstract javax.servlet.ServletContext getServletContext()