Package com.liferay.application.list
Class BaseJSPPanelApp
java.lang.Object
com.liferay.application.list.BasePanelApp
com.liferay.application.list.BaseJSPPanelApp
- All Implemented Interfaces:
PanelApp,PanelEntry
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:
-
Field Summary
Fields inherited from class com.liferay.application.list.BasePanelApp
groupProvider -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.liferay.application.list.BasePanelApp
getControlPanelEntry, getGroup, getKey, getLabel, getNotificationsCount, getPortletURL, isShow, setGroupProvider, setPortletLocalService, setUserNotificationEventLocalServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.application.list.PanelApp
getPortlet, getPortletId
-
Constructor Details
-
BaseJSPPanelApp
public BaseJSPPanelApp()
-
-
Method Details
-
getJspPath
-
include
public boolean include(javax.servlet.http.HttpServletRequest httpServletRequest, javax.servlet.http.HttpServletResponse httpServletResponse) throws IOException Description copied from interface:PanelAppReturnstrueif the application successfully renders.- Specified by:
includein interfacePanelApp- Overrides:
includein classBasePanelApp- Parameters:
httpServletRequest- the servlet request used in the rendering processhttpServletResponse- the servlet response used in the rendering process- Returns:
trueif the application successfully renders;falseotherwise- Throws:
IOException- if an IO exception occurred
-
getServletContext
protected abstract javax.servlet.ServletContext getServletContext()
-