public abstract class BaseJSPPanelApp extends BasePanelApp
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.
BasePanelApp,
PanelAppgroupProvider| Constructor and Description |
|---|
BaseJSPPanelApp() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getJspPath() |
protected abstract javax.servlet.ServletContext |
getServletContext() |
boolean |
include(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
Returns
true if the application successfully renders. |
getControlPanelEntry, getGroup, getKey, getLabel, getNotificationsCount, getPortlet, getPortletURL, isShow, setGroupProvider, setPortlet, setPortletLocalService, setUserNotificationEventLocalServiceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPortletIdpublic abstract java.lang.String getJspPath()
public boolean include(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws java.io.IOException
PanelApptrue if the application successfully renders.include in interface PanelAppinclude in class BasePanelApphttpServletRequest - the servlet request used in the rendering
processhttpServletResponse - the servlet response used in the rendering
processtrue if the application successfully renders;
false otherwisejava.io.IOException - if an IO exception occurredprotected abstract javax.servlet.ServletContext getServletContext()