public class BaseSidebarPortlet extends AContentDisplayPortlet
Modifier and Type | Field and Description |
---|---|
private String |
propertyname
the property name for this sidebar portlet instance.
|
private static String |
PROPERTYNAME_KEY
the portety name key for the properties file.
|
attributes, ATTRIBUTES_KEY, downloadMimetypes, ISVELOCITYRENDERED_KEY, vEngine
CONTENTID_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, serveResource
getCrConf, getLog, getStartfolder, getStartpage, getTemplate, init, setCrConf, setLog
destroy, doDispatch, doEdit, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processEvent, render
private static final String PROPERTYNAME_KEY
private String propertyname
protected void initialize()
AGenticsPortlet
in 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 AContentDisplayPortlet
protected void handleError(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response, javax.portlet.PortletException exception)
AContentDisplayPortlet
handleError
in class AContentDisplayPortlet
request
- the requestresponse
- the responseexception
- the exceptionprotected String getContentid(javax.portlet.RenderRequest request) throws com.gentics.cr.exceptions.CRException
AGenticsPortlet
getContentid
in class AGenticsPortlet
request
- the requestcom.gentics.cr.exceptions.CRException
protected void doInternalView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
AContentDisplayPortlet
TODO
doInternalView
in class AContentDisplayPortlet
request
- the requestresponse
- the responsejavax.portlet.PortletException
- the portlet exceptionIOException
- Signals that an I/O exception has occurred.Copyright © 2014 Gentics Software GmbH. All Rights Reserved.