public class CmsElementViewSelectWidget extends CmsSelectWidget
If the widget configuration contains the string 'selectparent', the widget will be used for selecting parent views of a view. This makes sense *only* when the widget is used in the element view content itself.
A_CmsWidget.CmsDummyWidgetDialogCONFIGURATION_HEIGHTHELP_POSTFIX, LABEL_PREFIX| Constructor and Description |
|---|
CmsElementViewSelectWidget()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsWidget |
newInstance()
Creates a duplicate of this widget instance.
|
protected java.util.List<CmsSelectWidgetOption> |
parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Returns the list of configured select options, parsing the configuration String if required.
|
getDialogWidget, getWidgetName, getWidgetStringValueaddSelectOption, getConfiguration, getConfiguration, getCssResourceLinks, getDefaultDisplayType, getHeight, getInitCall, getJavaScriptResourceLinks, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, isInternal, setConfiguration, setSelectOptionsequals, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, hashCode, isCompactViewEnabled, setEditorValueclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, isCompactViewEnabled, setEditorValuepublic CmsElementViewSelectWidget()
public I_CmsWidget newInstance()
I_CmsWidgetnewInstance in interface I_CmsWidgetnewInstance in class CmsSelectWidgetI_CmsWidget.newInstance()protected java.util.List<CmsSelectWidgetOption> parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
A_CmsSelectWidget
The list elements are of type .
The configuration String is parsed only once and then stored internally.CmsSelectWidgetOption
parseSelectOptions in class A_CmsSelectWidgetcms - the current users OpenCms contextwidgetDialog - the dialog of this widgetparam - the widget parameter of this dialogA_CmsSelectWidget.parseSelectOptions(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)