public class BaseSidebarPortlet extends AContentDisplayPortlet
attributes, ATTRIBUTES_KEY, downloadMimetypes, ISVELOCITYRENDERED_KEY, vEngineCONTENTID_OVERRIDE_ATTRIBUTE, CONTENTID_RENDER_PARAMETER, INITPARAM_EDITTEMPLATE_NAME, INITPARAM_STARTFOLDER_NAME, INITPARAM_STARTPAGE_NAME, INITPARAM_VIEWTEMPLATE_NAME, log, PAGE_RULE, TEMPLATE_CACHEZONE_KEY, TEMPLATECACHE_CONFIG_KEY| Constructor and Description |
|---|
BaseSidebarPortlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInternalView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Do internal view.
|
protected String |
getContentid(javax.portlet.RenderRequest request)
Returns the current contentid for the portlet.
|
protected void |
handleError(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
javax.portlet.PortletException exception)
Handle error.
|
protected void |
initialize()
the portlet instance initialize method.
|
dispatch, doView, executeVelocityRender, getRp, prepareDisplayResponse, processAction, serveResourcegetCrConf, getLog, getStartfolder, getStartpage, getTemplate, init, setCrConf, setLogdestroy, doDispatch, doEdit, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processEvent, renderprotected void initialize()
AGenticsPortletin this method every kind of Gentics portlet can initialize its own connectors and helpers
This method is called exact once on portlet init.
Please use this method if you have to initialize components within your portlet instance (E.g. connectors, helper classes etc.)
initialize in class AContentDisplayPortletprotected void handleError(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response,
javax.portlet.PortletException exception)
AContentDisplayPortlethandleError in class AContentDisplayPortletrequest - the requestresponse - the responseexception - the exceptionprotected String getContentid(javax.portlet.RenderRequest request) throws com.gentics.cr.exceptions.CRException
AGenticsPortletgetContentid in class AGenticsPortletrequest - the requestcom.gentics.cr.exceptions.CRException - the CRExceptionprotected void doInternalView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
IOException
AContentDisplayPortletTODO
doInternalView in class AContentDisplayPortletrequest - the requestresponse - the responsejavax.portlet.PortletException - the portlet exceptionIOException - Signals that an I/O exception has occurred.Copyright © 2022 Gentics Software. All rights reserved.