public class MainPageHorizontalNavigationWidget extends AbstractWidget
METADATA_KEY_NO_CONTENT
PARAM_WIDGET_ID
Constructor and Description |
---|
MainPageHorizontalNavigationWidget() |
Modifier and Type | Method and Description |
---|---|
String |
getContextId() |
String |
getLabel(String viewId)
Return the text that should be rendered as label for a given viewId.
|
String |
getTile(String outputType)
Get the tile to be used for rendering
|
Object |
handleRequest()
Handle the request and return a result
|
protected void |
initParameters()
abstract method hook that initializes the widget's parameters
|
determineOutputType, getAttribute, getBooleanParameter, getGroupName, getIntParameter, getIntParameter, getLongArrayParameter, getLongParameter, getLongParameter, getParameter, getParameter, getParameterEscaped, getParameterEscaped, getParameters, getRequest, getResponse, getResponseMetadata, getStringArrayParameter, getViewIdentifier, getWidgetId, isSuccess, setAttribute, setGroupName, setParameter, setRequest, setResponse, setResponseMetadata, setSuccess
public String getContextId()
public String getLabel(String viewId)
viewId
- the ID of the view that should be labeledpublic String getTile(String outputType)
Widget
outputType
- the output type (rss, dhtml ...) without any '.'public Object handleRequest()
Widget
protected void initParameters()
AbstractWidget
initParameters
in class AbstractWidget
Copyright © 2019 Communote team. All rights reserved.