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.CmsDummyWidgetDialogCONFIGURATION_HEIGHTHELP_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, newInstanceaddSelectOption, getConfiguration, getConfiguration, getCssResourceLinks, getDefaultDisplayType, getHeight, getInitCall, getJavaScriptResourceLinks, getResourcePath, getSelectedValue, getSelectedValues, getSelectOptions, isInternal, parseSelectOptions, setConfiguration, setSelectOptionsequals, getDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpKey, getHelpText, getJsHelpMouseHandler, getJSIncludeFile, getLabelKey, hashCode, isCompactViewEnabled, setEditorValuegetDialogHtmlEnd, getDialogIncludes, getDialogInitCall, getDialogInitMethod, getHelpBubble, getHelpText, isCompactViewEnabled, setEditorValuepublic CmsSelectOnChangeReloadWidget()
public CmsSelectOnChangeReloadWidget(java.util.List<CmsSelectWidgetOption> configuration)
The list elements must be of type .CmsSelectWidgetOption
configuration - the configuration (possible options) for the select widgetCmsSelectWidgetOptionpublic 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_CmsWidgetgetDialogWidget 在接口中 I_CmsWidgetgetDialogWidget 在类中 CmsSelectWidgetcms - 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)