public class CmsSelectOnChangeReloadWidget extends CmsSelectWidget
Please see the documentation of
for a description
about the configuration String syntax for the select options.CmsSelectWidgetOption
The select widget does use the following select options:
CmsSelectWidgetOption.getValue()
for the value
of the HTML select box
CmsSelectWidgetOption.isDefault()
for pre-selecting a specific value
CmsSelectWidgetOption.getOption()
for the option
of the HTML select box
A_CmsWidget.CmsDummyWidgetDialog
CONFIGURATION_HEIGHT
HELP_POSTFIX, LABEL_PREFIX
构造器和说明 |
---|
CmsSelectOnChangeReloadWidget()
Creates a new select widget.
|
CmsSelectOnChangeReloadWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.
|
CmsSelectOnChangeReloadWidget(java.lang.String configuration)
Creates a select widget with the specified select options.
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getDialogWidget(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param)
Generates the widget HTML for the provided widget parameter.
|
getWidgetName, getWidgetStringValue, newInstance
addSelectOption, getConfiguration, getConfiguration, getCssResourceLinks, getDefaultDisplayType, getHeight, getInitCall, getJavaScriptResourceLinks, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, isInternal, parseSelectOptions, setConfiguration, setSelectOptions
equals, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, hashCode, isCompactViewEnabled, setEditorValue
getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, isCompactViewEnabled, setEditorValue
public CmsSelectOnChangeReloadWidget()
public CmsSelectOnChangeReloadWidget(java.util.List<CmsSelectWidgetOption> configuration)
The list elements must be of type
.CmsSelectWidgetOption
configuration
- the configuration (possible options) for the select widgetCmsSelectWidgetOption
public CmsSelectOnChangeReloadWidget(java.lang.String configuration)
configuration
- the configuration (possible options) for the select boxpublic java.lang.String getDialogWidget(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
I_CmsWidget
getDialogWidget
在接口中 I_CmsWidget
getDialogWidget
在类中 CmsSelectWidget
cms
- an initialized instance of a CmsObjectwidgetDialog
- the dialog where the widget is used onparam
- the widget parameter to generate the widget forI_CmsWidget.getDialogWidget(org.opencms.file.CmsObject, org.opencms.widgets.I_CmsWidgetDialog, org.opencms.widgets.I_CmsWidgetParameter)