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
,
PanelApp
groupProvider
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, getPortletURL, isShow, setGroupProvider, setPortletLocalService, setUserNotificationEventLocalService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPortlet, getPortletId
public abstract java.lang.String getJspPath()
public boolean include(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws java.io.IOException
PanelApp
true
if the application successfully renders.include
in interface PanelApp
include
in class BasePanelApp
httpServletRequest
- 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()